diff --git a/.github/workflows/e2e-master.yaml b/.github/workflows/e2e-master.yaml index 1cf412742a..caa24a62b6 100644 --- a/.github/workflows/e2e-master.yaml +++ b/.github/workflows/e2e-master.yaml @@ -43,4 +43,4 @@ jobs: - name: Install package run: python -m pip install -e . - name: Run End to End tests - run: pytest -vvv -s kubernetes/e2e_test -s kubernetes_asyncio/e2e_test + run: pytest -vvv -s kubernetes/e2e_test -s kubernetes/aio/e2e_test diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3af2c58df3..cbeeebbcee 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -45,7 +45,7 @@ jobs: - name: Upload coverage to Codecov if: "matrix.use_coverage" - uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 + uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 with: fail_ci_if_error: false verbose: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 481c79d959..cea65a66e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# v36.0.1 + +Kubernetes API Version: v1.36.1 + +### Bug or Regression +- Fix `load_incluster_config()` and `load_kube_config()` (sync and async, with a static token) so requests carry an `Authorization` header on `kubernetes-client/python` v36+. Without this fix, in-cluster pods upgrading to v36 silently send unauthenticated requests and the apiserver rejects them as `system:anonymous`. (#2585, @Jmacek) + +### Deprecation +- Support new exec v5 websocket subprotocol (#2486, @aojea) + # v36.0.0 Kubernetes API Version: v1.36.1 @@ -231,7 +241,10 @@ Kubernetes API Version: v1.36.0 - The `endpoints` field in discovery.k8s.io/v1 EndpointSlice is now correctly defined as optional in the OpenAPI specification, matching the server's behavior. ([kubernetes/kubernetes#136111](https://github.com/kubernetes/kubernetes/pull/136111), [@aojea](https://github.com/aojea)) [SIG Network] - Update API comments to reflect that stable state of Dynamic Resource Allocation ([kubernetes/kubernetes#136441](https://github.com/kubernetes/kubernetes/pull/136441), [@kannon92](https://github.com/kannon92)) [SIG API Machinery] -# Basic asyncio support +# Basic asyncio support (Experimental) + +- Asyncio package is experimental currently, breaking changes may be introduced + in future releases. - Basic asyncio with kube config, and in_cluster_config is added. diff --git a/README.md b/README.md index 49446851d4..63a9c306a2 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ list all pods using asyncio: ```python import asyncio -from kubernetes_asyncio import client, config -from kubernetes_asyncio.client.api_client import ApiClient +from kubernetes.aio import client, config +from kubernetes.aio.client.api_client import ApiClient async def main(): @@ -134,7 +134,7 @@ supported versions of Kubernetes clusters. - [client 33.y.z](https://pypi.org/project/kubernetes/33.1.0/): Kubernetes 1.32 or below (+-), Kubernetes 1.33 (✓), Kubernetes 1.34 or above (+-) - [client 34.y.z](https://pypi.org/project/kubernetes/34.1.0/): Kubernetes 1.33 or below (+-), Kubernetes 1.34 (✓), Kubernetes 1.35 or above (+-) - [client 35.y.z](https://pypi.org/project/kubernetes/35.0.0/): Kubernetes 1.34 or below (+-), Kubernetes 1.35 (✓), Kubernetes 1.36 or above (+-) -- [client 36.y.z](https://pypi.org/project/kubernetes/36.0.0/): Kubernetes 1.35 or below (+-), Kubernetes 1.36 (✓), Kubernetes 1.37 or above (+-) +- [client 36.y.z](https://pypi.org/project/kubernetes/36.0.1/): Kubernetes 1.35 or below (+-), Kubernetes 1.36 (✓), Kubernetes 1.37 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. diff --git a/examples/cronjob_crud.py b/examples/cronjob_crud.py index 9cbb91d814..1fc4d95081 100644 --- a/examples/cronjob_crud.py +++ b/examples/cronjob_crud.py @@ -1,5 +1,4 @@ #!/usr/bin/python3 -# -*- coding:utf-8 -*- import json import time diff --git a/examples/duration-gep2257.py b/examples/duration-gep2257.py index a7bda1bdb2..f38e06b489 100644 --- a/examples/duration-gep2257.py +++ b/examples/duration-gep2257.py @@ -1,5 +1,4 @@ #!/usr/bin/python3 -# -*- coding:utf-8 -*- """ This example uses kubernetes.utils.duration to parse and display diff --git a/examples/pod_portforward.py b/examples/pod_portforward.py index 13672f181f..d888dec367 100644 --- a/examples/pod_portforward.py +++ b/examples/pod_portforward.py @@ -19,8 +19,7 @@ import select import socket import time - -import six.moves.urllib.request as urllib_request +from urllib import request as urllib_request from kubernetes import config from kubernetes.client import Configuration diff --git a/examples_asyncio/in_cluster_config.py b/examples_asyncio/in_cluster_config.py index 5036032368..eb411d1b6b 100644 --- a/examples_asyncio/in_cluster_config.py +++ b/examples_asyncio/in_cluster_config.py @@ -53,7 +53,7 @@ import sys import traceback -from kubernetes_asyncio import client, config +from kubernetes.aio import client, config async def main(): diff --git a/examples_asyncio/list_pods.py b/examples_asyncio/list_pods.py index ccb0c607a6..c951be373d 100644 --- a/examples_asyncio/list_pods.py +++ b/examples_asyncio/list_pods.py @@ -1,7 +1,7 @@ import asyncio -from kubernetes_asyncio import client, config -from kubernetes_asyncio.client.api_client import ApiClient +from kubernetes.aio import client, config +from kubernetes.aio.client.api_client import ApiClient async def main(): diff --git a/examples_asyncio/patch.py b/examples_asyncio/patch.py index ba28e231ab..a765dde73a 100644 --- a/examples_asyncio/patch.py +++ b/examples_asyncio/patch.py @@ -1,7 +1,7 @@ import asyncio -from kubernetes_asyncio import client, config -from kubernetes_asyncio.client.api_client import ApiClient +from kubernetes.aio import client, config +from kubernetes.aio.client.api_client import ApiClient SERVICE_NAME = "example-service" SERVICE_NS = "default" diff --git a/kubernetes/README.md b/kubernetes/README.md index add1da4f4f..ecf376a293 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: release-1.36 -- Package version: 36.0.0 +- Package version: 36.0.1 - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 8b46e6be87..0eb0bb6c16 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "36.0.0" +__version__ = "36.0.1" from . import client from . import config diff --git a/kubernetes_asyncio/.gitignore b/kubernetes/aio/.gitignore similarity index 100% rename from kubernetes_asyncio/.gitignore rename to kubernetes/aio/.gitignore diff --git a/kubernetes_asyncio/.gitlab-ci.yml b/kubernetes/aio/.gitlab-ci.yml similarity index 100% rename from kubernetes_asyncio/.gitlab-ci.yml rename to kubernetes/aio/.gitlab-ci.yml diff --git a/kubernetes_asyncio/.openapi-generator-ignore b/kubernetes/aio/.openapi-generator-ignore similarity index 100% rename from kubernetes_asyncio/.openapi-generator-ignore rename to kubernetes/aio/.openapi-generator-ignore diff --git a/kubernetes_asyncio/.openapi-generator/COMMIT b/kubernetes/aio/.openapi-generator/COMMIT similarity index 100% rename from kubernetes_asyncio/.openapi-generator/COMMIT rename to kubernetes/aio/.openapi-generator/COMMIT diff --git a/kubernetes_asyncio/.openapi-generator/FILES b/kubernetes/aio/.openapi-generator/FILES similarity index 100% rename from kubernetes_asyncio/.openapi-generator/FILES rename to kubernetes/aio/.openapi-generator/FILES diff --git a/kubernetes_asyncio/.openapi-generator/VERSION b/kubernetes/aio/.openapi-generator/VERSION similarity index 100% rename from kubernetes_asyncio/.openapi-generator/VERSION rename to kubernetes/aio/.openapi-generator/VERSION diff --git a/kubernetes_asyncio/.openapi-generator/swagger.json-default.sha256 b/kubernetes/aio/.openapi-generator/swagger.json-default.sha256 similarity index 100% rename from kubernetes_asyncio/.openapi-generator/swagger.json-default.sha256 rename to kubernetes/aio/.openapi-generator/swagger.json-default.sha256 diff --git a/kubernetes_asyncio/.travis.yml b/kubernetes/aio/.travis.yml similarity index 100% rename from kubernetes_asyncio/.travis.yml rename to kubernetes/aio/.travis.yml diff --git a/kubernetes_asyncio/README.md b/kubernetes/aio/README.md similarity index 99% rename from kubernetes_asyncio/README.md rename to kubernetes/aio/README.md index 0da8848bc9..a24c769708 100644 --- a/kubernetes_asyncio/README.md +++ b/kubernetes/aio/README.md @@ -1,10 +1,10 @@ -# kubernetes_asyncio.client +# kubernetes.aio.client No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: release-1.36 -- Package version: 36.0.0 +- Package version: 36.0.1 - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen ## Requirements. @@ -17,13 +17,13 @@ Python 2.7 and 3.4+ If the python package is hosted on a repository, you can install directly using: ```sh -pip install git+https://github.com/kubernetes-kubernetes_asyncio.client/python.git +pip install git+https://github.com/kubernetes-kubernetes.aio.client/python.git ``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/kubernetes-kubernetes_asyncio.client/python.git`) +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/kubernetes-kubernetes.aio.client/python.git`) Then import the package: ```python -import kubernetes_asyncio.client +import kubernetes.aio.client ``` ### Setuptools @@ -37,7 +37,7 @@ python setup.py install --user Then import the package: ```python -import kubernetes_asyncio.client +import kubernetes.aio.client ``` ## Getting Started @@ -48,17 +48,17 @@ Please follow the [installation procedure](#installation--usage) and then run th from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -70,10 +70,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -async with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +async with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.WellKnownApi(api_client) + api_instance = kubernetes.aio.client.WellKnownApi(api_client) try: api_response = await api_instance.get_service_account_issuer_open_id_configuration() diff --git a/kubernetes_asyncio/__init__.py b/kubernetes/aio/__init__.py similarity index 86% rename from kubernetes_asyncio/__init__.py rename to kubernetes/aio/__init__.py index dca5017e6c..7309ef63be 100644 --- a/kubernetes_asyncio/__init__.py +++ b/kubernetes/aio/__init__.py @@ -12,10 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -__project__ = "kubernetes_asyncio" +__project__ = "kubernetes_aio" # The version is auto-updated. Please do not edit. -__version__ = "36.0.0" +__version__ = "36.0.1" -import kubernetes_asyncio.client as client +import kubernetes.aio.client as client __all__ = ["client"] diff --git a/kubernetes/aio/client/__init__.py b/kubernetes/aio/client/__init__.py new file mode 100644 index 0000000000..271d87cc43 --- /dev/null +++ b/kubernetes/aio/client/__init__.py @@ -0,0 +1,863 @@ +# coding: utf-8 + +# flake8: noqa + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.36 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +__version__ = "36.0.1" + +# import apis into sdk package +from kubernetes.aio.client.api.well_known_api import WellKnownApi +from kubernetes.aio.client.api.admissionregistration_api import AdmissionregistrationApi +from kubernetes.aio.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api +from kubernetes.aio.client.api.admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api +from kubernetes.aio.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api +from kubernetes.aio.client.api.apiextensions_api import ApiextensionsApi +from kubernetes.aio.client.api.apiextensions_v1_api import ApiextensionsV1Api +from kubernetes.aio.client.api.apiregistration_api import ApiregistrationApi +from kubernetes.aio.client.api.apiregistration_v1_api import ApiregistrationV1Api +from kubernetes.aio.client.api.apis_api import ApisApi +from kubernetes.aio.client.api.apps_api import AppsApi +from kubernetes.aio.client.api.apps_v1_api import AppsV1Api +from kubernetes.aio.client.api.authentication_api import AuthenticationApi +from kubernetes.aio.client.api.authentication_v1_api import AuthenticationV1Api +from kubernetes.aio.client.api.authorization_api import AuthorizationApi +from kubernetes.aio.client.api.authorization_v1_api import AuthorizationV1Api +from kubernetes.aio.client.api.autoscaling_api import AutoscalingApi +from kubernetes.aio.client.api.autoscaling_v1_api import AutoscalingV1Api +from kubernetes.aio.client.api.autoscaling_v2_api import AutoscalingV2Api +from kubernetes.aio.client.api.batch_api import BatchApi +from kubernetes.aio.client.api.batch_v1_api import BatchV1Api +from kubernetes.aio.client.api.certificates_api import CertificatesApi +from kubernetes.aio.client.api.certificates_v1_api import CertificatesV1Api +from kubernetes.aio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api +from kubernetes.aio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api +from kubernetes.aio.client.api.coordination_api import CoordinationApi +from kubernetes.aio.client.api.coordination_v1_api import CoordinationV1Api +from kubernetes.aio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api +from kubernetes.aio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api +from kubernetes.aio.client.api.core_api import CoreApi +from kubernetes.aio.client.api.core_v1_api import CoreV1Api +from kubernetes.aio.client.api.custom_objects_api import CustomObjectsApi +from kubernetes.aio.client.api.discovery_api import DiscoveryApi +from kubernetes.aio.client.api.discovery_v1_api import DiscoveryV1Api +from kubernetes.aio.client.api.events_api import EventsApi +from kubernetes.aio.client.api.events_v1_api import EventsV1Api +from kubernetes.aio.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi +from kubernetes.aio.client.api.flowcontrol_apiserver_v1_api import FlowcontrolApiserverV1Api +from kubernetes.aio.client.api.internal_apiserver_api import InternalApiserverApi +from kubernetes.aio.client.api.internal_apiserver_v1alpha1_api import InternalApiserverV1alpha1Api +from kubernetes.aio.client.api.logs_api import LogsApi +from kubernetes.aio.client.api.networking_api import NetworkingApi +from kubernetes.aio.client.api.networking_v1_api import NetworkingV1Api +from kubernetes.aio.client.api.networking_v1beta1_api import NetworkingV1beta1Api +from kubernetes.aio.client.api.node_api import NodeApi +from kubernetes.aio.client.api.node_v1_api import NodeV1Api +from kubernetes.aio.client.api.openid_api import OpenidApi +from kubernetes.aio.client.api.policy_api import PolicyApi +from kubernetes.aio.client.api.policy_v1_api import PolicyV1Api +from kubernetes.aio.client.api.rbac_authorization_api import RbacAuthorizationApi +from kubernetes.aio.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api +from kubernetes.aio.client.api.resource_api import ResourceApi +from kubernetes.aio.client.api.resource_v1_api import ResourceV1Api +from kubernetes.aio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api +from kubernetes.aio.client.api.resource_v1beta1_api import ResourceV1beta1Api +from kubernetes.aio.client.api.resource_v1beta2_api import ResourceV1beta2Api +from kubernetes.aio.client.api.scheduling_api import SchedulingApi +from kubernetes.aio.client.api.scheduling_v1_api import SchedulingV1Api +from kubernetes.aio.client.api.scheduling_v1alpha2_api import SchedulingV1alpha2Api +from kubernetes.aio.client.api.storage_api import StorageApi +from kubernetes.aio.client.api.storage_v1_api import StorageV1Api +from kubernetes.aio.client.api.storage_v1beta1_api import StorageV1beta1Api +from kubernetes.aio.client.api.storagemigration_api import StoragemigrationApi +from kubernetes.aio.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api +from kubernetes.aio.client.api.version_api import VersionApi + +# import ApiClient +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.configuration import Configuration +from kubernetes.aio.client.exceptions import OpenApiException +from kubernetes.aio.client.exceptions import ApiTypeError +from kubernetes.aio.client.exceptions import ApiValueError +from kubernetes.aio.client.exceptions import ApiKeyError +from kubernetes.aio.client.exceptions import ApiAttributeError +from kubernetes.aio.client.exceptions import ApiException +# import models into sdk package +from kubernetes.aio.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference +from kubernetes.aio.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig +from kubernetes.aio.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference +from kubernetes.aio.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig +from kubernetes.aio.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference +from kubernetes.aio.client.models.authentication_v1_token_request import AuthenticationV1TokenRequest +from kubernetes.aio.client.models.core_v1_endpoint_port import CoreV1EndpointPort +from kubernetes.aio.client.models.core_v1_event import CoreV1Event +from kubernetes.aio.client.models.core_v1_event_list import CoreV1EventList +from kubernetes.aio.client.models.core_v1_event_series import CoreV1EventSeries +from kubernetes.aio.client.models.core_v1_resource_claim import CoreV1ResourceClaim +from kubernetes.aio.client.models.discovery_v1_endpoint_port import DiscoveryV1EndpointPort +from kubernetes.aio.client.models.events_v1_event import EventsV1Event +from kubernetes.aio.client.models.events_v1_event_list import EventsV1EventList +from kubernetes.aio.client.models.events_v1_event_series import EventsV1EventSeries +from kubernetes.aio.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject +from kubernetes.aio.client.models.rbac_v1_subject import RbacV1Subject +from kubernetes.aio.client.models.resource_v1_resource_claim import ResourceV1ResourceClaim +from kubernetes.aio.client.models.storage_v1_token_request import StorageV1TokenRequest +from kubernetes.aio.client.models.v1_api_group import V1APIGroup +from kubernetes.aio.client.models.v1_api_group_list import V1APIGroupList +from kubernetes.aio.client.models.v1_api_resource import V1APIResource +from kubernetes.aio.client.models.v1_api_resource_list import V1APIResourceList +from kubernetes.aio.client.models.v1_api_service import V1APIService +from kubernetes.aio.client.models.v1_api_service_condition import V1APIServiceCondition +from kubernetes.aio.client.models.v1_api_service_list import V1APIServiceList +from kubernetes.aio.client.models.v1_api_service_spec import V1APIServiceSpec +from kubernetes.aio.client.models.v1_api_service_status import V1APIServiceStatus +from kubernetes.aio.client.models.v1_api_versions import V1APIVersions +from kubernetes.aio.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource +from kubernetes.aio.client.models.v1_affinity import V1Affinity +from kubernetes.aio.client.models.v1_aggregation_rule import V1AggregationRule +from kubernetes.aio.client.models.v1_allocated_device_status import V1AllocatedDeviceStatus +from kubernetes.aio.client.models.v1_allocation_result import V1AllocationResult +from kubernetes.aio.client.models.v1_app_armor_profile import V1AppArmorProfile +from kubernetes.aio.client.models.v1_apply_configuration import V1ApplyConfiguration +from kubernetes.aio.client.models.v1_attached_volume import V1AttachedVolume +from kubernetes.aio.client.models.v1_audit_annotation import V1AuditAnnotation +from kubernetes.aio.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource +from kubernetes.aio.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource +from kubernetes.aio.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource +from kubernetes.aio.client.models.v1_binding import V1Binding +from kubernetes.aio.client.models.v1_bound_object_reference import V1BoundObjectReference +from kubernetes.aio.client.models.v1_cel_device_selector import V1CELDeviceSelector +from kubernetes.aio.client.models.v1_csi_driver import V1CSIDriver +from kubernetes.aio.client.models.v1_csi_driver_list import V1CSIDriverList +from kubernetes.aio.client.models.v1_csi_driver_spec import V1CSIDriverSpec +from kubernetes.aio.client.models.v1_csi_node import V1CSINode +from kubernetes.aio.client.models.v1_csi_node_driver import V1CSINodeDriver +from kubernetes.aio.client.models.v1_csi_node_list import V1CSINodeList +from kubernetes.aio.client.models.v1_csi_node_spec import V1CSINodeSpec +from kubernetes.aio.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource +from kubernetes.aio.client.models.v1_csi_storage_capacity import V1CSIStorageCapacity +from kubernetes.aio.client.models.v1_csi_storage_capacity_list import V1CSIStorageCapacityList +from kubernetes.aio.client.models.v1_csi_volume_source import V1CSIVolumeSource +from kubernetes.aio.client.models.v1_capabilities import V1Capabilities +from kubernetes.aio.client.models.v1_capacity_request_policy import V1CapacityRequestPolicy +from kubernetes.aio.client.models.v1_capacity_request_policy_range import V1CapacityRequestPolicyRange +from kubernetes.aio.client.models.v1_capacity_requirements import V1CapacityRequirements +from kubernetes.aio.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource +from kubernetes.aio.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource +from kubernetes.aio.client.models.v1_certificate_signing_request import V1CertificateSigningRequest +from kubernetes.aio.client.models.v1_certificate_signing_request_condition import V1CertificateSigningRequestCondition +from kubernetes.aio.client.models.v1_certificate_signing_request_list import V1CertificateSigningRequestList +from kubernetes.aio.client.models.v1_certificate_signing_request_spec import V1CertificateSigningRequestSpec +from kubernetes.aio.client.models.v1_certificate_signing_request_status import V1CertificateSigningRequestStatus +from kubernetes.aio.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource +from kubernetes.aio.client.models.v1_cinder_volume_source import V1CinderVolumeSource +from kubernetes.aio.client.models.v1_client_ip_config import V1ClientIPConfig +from kubernetes.aio.client.models.v1_cluster_role import V1ClusterRole +from kubernetes.aio.client.models.v1_cluster_role_binding import V1ClusterRoleBinding +from kubernetes.aio.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList +from kubernetes.aio.client.models.v1_cluster_role_list import V1ClusterRoleList +from kubernetes.aio.client.models.v1_cluster_trust_bundle_projection import V1ClusterTrustBundleProjection +from kubernetes.aio.client.models.v1_component_condition import V1ComponentCondition +from kubernetes.aio.client.models.v1_component_status import V1ComponentStatus +from kubernetes.aio.client.models.v1_component_status_list import V1ComponentStatusList +from kubernetes.aio.client.models.v1_condition import V1Condition +from kubernetes.aio.client.models.v1_config_map import V1ConfigMap +from kubernetes.aio.client.models.v1_config_map_env_source import V1ConfigMapEnvSource +from kubernetes.aio.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector +from kubernetes.aio.client.models.v1_config_map_list import V1ConfigMapList +from kubernetes.aio.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource +from kubernetes.aio.client.models.v1_config_map_projection import V1ConfigMapProjection +from kubernetes.aio.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource +from kubernetes.aio.client.models.v1_container import V1Container +from kubernetes.aio.client.models.v1_container_extended_resource_request import V1ContainerExtendedResourceRequest +from kubernetes.aio.client.models.v1_container_image import V1ContainerImage +from kubernetes.aio.client.models.v1_container_port import V1ContainerPort +from kubernetes.aio.client.models.v1_container_resize_policy import V1ContainerResizePolicy +from kubernetes.aio.client.models.v1_container_restart_rule import V1ContainerRestartRule +from kubernetes.aio.client.models.v1_container_restart_rule_on_exit_codes import V1ContainerRestartRuleOnExitCodes +from kubernetes.aio.client.models.v1_container_state import V1ContainerState +from kubernetes.aio.client.models.v1_container_state_running import V1ContainerStateRunning +from kubernetes.aio.client.models.v1_container_state_terminated import V1ContainerStateTerminated +from kubernetes.aio.client.models.v1_container_state_waiting import V1ContainerStateWaiting +from kubernetes.aio.client.models.v1_container_status import V1ContainerStatus +from kubernetes.aio.client.models.v1_container_user import V1ContainerUser +from kubernetes.aio.client.models.v1_controller_revision import V1ControllerRevision +from kubernetes.aio.client.models.v1_controller_revision_list import V1ControllerRevisionList +from kubernetes.aio.client.models.v1_counter import V1Counter +from kubernetes.aio.client.models.v1_counter_set import V1CounterSet +from kubernetes.aio.client.models.v1_cron_job import V1CronJob +from kubernetes.aio.client.models.v1_cron_job_list import V1CronJobList +from kubernetes.aio.client.models.v1_cron_job_spec import V1CronJobSpec +from kubernetes.aio.client.models.v1_cron_job_status import V1CronJobStatus +from kubernetes.aio.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference +from kubernetes.aio.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition +from kubernetes.aio.client.models.v1_custom_resource_conversion import V1CustomResourceConversion +from kubernetes.aio.client.models.v1_custom_resource_definition import V1CustomResourceDefinition +from kubernetes.aio.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition +from kubernetes.aio.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList +from kubernetes.aio.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames +from kubernetes.aio.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec +from kubernetes.aio.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus +from kubernetes.aio.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion +from kubernetes.aio.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale +from kubernetes.aio.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources +from kubernetes.aio.client.models.v1_custom_resource_validation import V1CustomResourceValidation +from kubernetes.aio.client.models.v1_daemon_endpoint import V1DaemonEndpoint +from kubernetes.aio.client.models.v1_daemon_set import V1DaemonSet +from kubernetes.aio.client.models.v1_daemon_set_condition import V1DaemonSetCondition +from kubernetes.aio.client.models.v1_daemon_set_list import V1DaemonSetList +from kubernetes.aio.client.models.v1_daemon_set_spec import V1DaemonSetSpec +from kubernetes.aio.client.models.v1_daemon_set_status import V1DaemonSetStatus +from kubernetes.aio.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy +from kubernetes.aio.client.models.v1_delete_options import V1DeleteOptions +from kubernetes.aio.client.models.v1_deployment import V1Deployment +from kubernetes.aio.client.models.v1_deployment_condition import V1DeploymentCondition +from kubernetes.aio.client.models.v1_deployment_list import V1DeploymentList +from kubernetes.aio.client.models.v1_deployment_spec import V1DeploymentSpec +from kubernetes.aio.client.models.v1_deployment_status import V1DeploymentStatus +from kubernetes.aio.client.models.v1_deployment_strategy import V1DeploymentStrategy +from kubernetes.aio.client.models.v1_device import V1Device +from kubernetes.aio.client.models.v1_device_allocation_configuration import V1DeviceAllocationConfiguration +from kubernetes.aio.client.models.v1_device_allocation_result import V1DeviceAllocationResult +from kubernetes.aio.client.models.v1_device_attribute import V1DeviceAttribute +from kubernetes.aio.client.models.v1_device_capacity import V1DeviceCapacity +from kubernetes.aio.client.models.v1_device_claim import V1DeviceClaim +from kubernetes.aio.client.models.v1_device_claim_configuration import V1DeviceClaimConfiguration +from kubernetes.aio.client.models.v1_device_class import V1DeviceClass +from kubernetes.aio.client.models.v1_device_class_configuration import V1DeviceClassConfiguration +from kubernetes.aio.client.models.v1_device_class_list import V1DeviceClassList +from kubernetes.aio.client.models.v1_device_class_spec import V1DeviceClassSpec +from kubernetes.aio.client.models.v1_device_constraint import V1DeviceConstraint +from kubernetes.aio.client.models.v1_device_counter_consumption import V1DeviceCounterConsumption +from kubernetes.aio.client.models.v1_device_request import V1DeviceRequest +from kubernetes.aio.client.models.v1_device_request_allocation_result import V1DeviceRequestAllocationResult +from kubernetes.aio.client.models.v1_device_selector import V1DeviceSelector +from kubernetes.aio.client.models.v1_device_sub_request import V1DeviceSubRequest +from kubernetes.aio.client.models.v1_device_taint import V1DeviceTaint +from kubernetes.aio.client.models.v1_device_toleration import V1DeviceToleration +from kubernetes.aio.client.models.v1_downward_api_projection import V1DownwardAPIProjection +from kubernetes.aio.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile +from kubernetes.aio.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource +from kubernetes.aio.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource +from kubernetes.aio.client.models.v1_endpoint import V1Endpoint +from kubernetes.aio.client.models.v1_endpoint_address import V1EndpointAddress +from kubernetes.aio.client.models.v1_endpoint_conditions import V1EndpointConditions +from kubernetes.aio.client.models.v1_endpoint_hints import V1EndpointHints +from kubernetes.aio.client.models.v1_endpoint_slice import V1EndpointSlice +from kubernetes.aio.client.models.v1_endpoint_slice_list import V1EndpointSliceList +from kubernetes.aio.client.models.v1_endpoint_subset import V1EndpointSubset +from kubernetes.aio.client.models.v1_endpoints import V1Endpoints +from kubernetes.aio.client.models.v1_endpoints_list import V1EndpointsList +from kubernetes.aio.client.models.v1_env_from_source import V1EnvFromSource +from kubernetes.aio.client.models.v1_env_var import V1EnvVar +from kubernetes.aio.client.models.v1_env_var_source import V1EnvVarSource +from kubernetes.aio.client.models.v1_ephemeral_container import V1EphemeralContainer +from kubernetes.aio.client.models.v1_ephemeral_volume_source import V1EphemeralVolumeSource +from kubernetes.aio.client.models.v1_event_source import V1EventSource +from kubernetes.aio.client.models.v1_eviction import V1Eviction +from kubernetes.aio.client.models.v1_exact_device_request import V1ExactDeviceRequest +from kubernetes.aio.client.models.v1_exec_action import V1ExecAction +from kubernetes.aio.client.models.v1_exempt_priority_level_configuration import V1ExemptPriorityLevelConfiguration +from kubernetes.aio.client.models.v1_expression_warning import V1ExpressionWarning +from kubernetes.aio.client.models.v1_external_documentation import V1ExternalDocumentation +from kubernetes.aio.client.models.v1_fc_volume_source import V1FCVolumeSource +from kubernetes.aio.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes +from kubernetes.aio.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement +from kubernetes.aio.client.models.v1_file_key_selector import V1FileKeySelector +from kubernetes.aio.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource +from kubernetes.aio.client.models.v1_flex_volume_source import V1FlexVolumeSource +from kubernetes.aio.client.models.v1_flocker_volume_source import V1FlockerVolumeSource +from kubernetes.aio.client.models.v1_flow_distinguisher_method import V1FlowDistinguisherMethod +from kubernetes.aio.client.models.v1_flow_schema import V1FlowSchema +from kubernetes.aio.client.models.v1_flow_schema_condition import V1FlowSchemaCondition +from kubernetes.aio.client.models.v1_flow_schema_list import V1FlowSchemaList +from kubernetes.aio.client.models.v1_flow_schema_spec import V1FlowSchemaSpec +from kubernetes.aio.client.models.v1_flow_schema_status import V1FlowSchemaStatus +from kubernetes.aio.client.models.v1_for_node import V1ForNode +from kubernetes.aio.client.models.v1_for_zone import V1ForZone +from kubernetes.aio.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource +from kubernetes.aio.client.models.v1_grpc_action import V1GRPCAction +from kubernetes.aio.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource +from kubernetes.aio.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource +from kubernetes.aio.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource +from kubernetes.aio.client.models.v1_group_resource import V1GroupResource +from kubernetes.aio.client.models.v1_group_subject import V1GroupSubject +from kubernetes.aio.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery +from kubernetes.aio.client.models.v1_http_get_action import V1HTTPGetAction +from kubernetes.aio.client.models.v1_http_header import V1HTTPHeader +from kubernetes.aio.client.models.v1_http_ingress_path import V1HTTPIngressPath +from kubernetes.aio.client.models.v1_http_ingress_rule_value import V1HTTPIngressRuleValue +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus +from kubernetes.aio.client.models.v1_host_alias import V1HostAlias +from kubernetes.aio.client.models.v1_host_ip import V1HostIP +from kubernetes.aio.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from kubernetes.aio.client.models.v1_ip_address import V1IPAddress +from kubernetes.aio.client.models.v1_ip_address_list import V1IPAddressList +from kubernetes.aio.client.models.v1_ip_address_spec import V1IPAddressSpec +from kubernetes.aio.client.models.v1_ip_block import V1IPBlock +from kubernetes.aio.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource +from kubernetes.aio.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource +from kubernetes.aio.client.models.v1_image_volume_source import V1ImageVolumeSource +from kubernetes.aio.client.models.v1_image_volume_status import V1ImageVolumeStatus +from kubernetes.aio.client.models.v1_ingress import V1Ingress +from kubernetes.aio.client.models.v1_ingress_backend import V1IngressBackend +from kubernetes.aio.client.models.v1_ingress_class import V1IngressClass +from kubernetes.aio.client.models.v1_ingress_class_list import V1IngressClassList +from kubernetes.aio.client.models.v1_ingress_class_parameters_reference import V1IngressClassParametersReference +from kubernetes.aio.client.models.v1_ingress_class_spec import V1IngressClassSpec +from kubernetes.aio.client.models.v1_ingress_list import V1IngressList +from kubernetes.aio.client.models.v1_ingress_load_balancer_ingress import V1IngressLoadBalancerIngress +from kubernetes.aio.client.models.v1_ingress_load_balancer_status import V1IngressLoadBalancerStatus +from kubernetes.aio.client.models.v1_ingress_port_status import V1IngressPortStatus +from kubernetes.aio.client.models.v1_ingress_rule import V1IngressRule +from kubernetes.aio.client.models.v1_ingress_service_backend import V1IngressServiceBackend +from kubernetes.aio.client.models.v1_ingress_spec import V1IngressSpec +from kubernetes.aio.client.models.v1_ingress_status import V1IngressStatus +from kubernetes.aio.client.models.v1_ingress_tls import V1IngressTLS +from kubernetes.aio.client.models.v1_json_patch import V1JSONPatch +from kubernetes.aio.client.models.v1_json_schema_props import V1JSONSchemaProps +from kubernetes.aio.client.models.v1_job import V1Job +from kubernetes.aio.client.models.v1_job_condition import V1JobCondition +from kubernetes.aio.client.models.v1_job_list import V1JobList +from kubernetes.aio.client.models.v1_job_spec import V1JobSpec +from kubernetes.aio.client.models.v1_job_status import V1JobStatus +from kubernetes.aio.client.models.v1_job_template_spec import V1JobTemplateSpec +from kubernetes.aio.client.models.v1_key_to_path import V1KeyToPath +from kubernetes.aio.client.models.v1_label_selector import V1LabelSelector +from kubernetes.aio.client.models.v1_label_selector_attributes import V1LabelSelectorAttributes +from kubernetes.aio.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement +from kubernetes.aio.client.models.v1_lease import V1Lease +from kubernetes.aio.client.models.v1_lease_list import V1LeaseList +from kubernetes.aio.client.models.v1_lease_spec import V1LeaseSpec +from kubernetes.aio.client.models.v1_lifecycle import V1Lifecycle +from kubernetes.aio.client.models.v1_lifecycle_handler import V1LifecycleHandler +from kubernetes.aio.client.models.v1_limit_range import V1LimitRange +from kubernetes.aio.client.models.v1_limit_range_item import V1LimitRangeItem +from kubernetes.aio.client.models.v1_limit_range_list import V1LimitRangeList +from kubernetes.aio.client.models.v1_limit_range_spec import V1LimitRangeSpec +from kubernetes.aio.client.models.v1_limit_response import V1LimitResponse +from kubernetes.aio.client.models.v1_limited_priority_level_configuration import V1LimitedPriorityLevelConfiguration +from kubernetes.aio.client.models.v1_linux_container_user import V1LinuxContainerUser +from kubernetes.aio.client.models.v1_list_meta import V1ListMeta +from kubernetes.aio.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress +from kubernetes.aio.client.models.v1_load_balancer_status import V1LoadBalancerStatus +from kubernetes.aio.client.models.v1_local_object_reference import V1LocalObjectReference +from kubernetes.aio.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview +from kubernetes.aio.client.models.v1_local_volume_source import V1LocalVolumeSource +from kubernetes.aio.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry +from kubernetes.aio.client.models.v1_match_condition import V1MatchCondition +from kubernetes.aio.client.models.v1_match_resources import V1MatchResources +from kubernetes.aio.client.models.v1_modify_volume_status import V1ModifyVolumeStatus +from kubernetes.aio.client.models.v1_mutating_admission_policy import V1MutatingAdmissionPolicy +from kubernetes.aio.client.models.v1_mutating_admission_policy_binding import V1MutatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1_mutating_admission_policy_binding_list import V1MutatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1_mutating_admission_policy_binding_spec import V1MutatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1_mutating_admission_policy_list import V1MutatingAdmissionPolicyList +from kubernetes.aio.client.models.v1_mutating_admission_policy_spec import V1MutatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1_mutating_webhook import V1MutatingWebhook +from kubernetes.aio.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration +from kubernetes.aio.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList +from kubernetes.aio.client.models.v1_mutation import V1Mutation +from kubernetes.aio.client.models.v1_nfs_volume_source import V1NFSVolumeSource +from kubernetes.aio.client.models.v1_named_rule_with_operations import V1NamedRuleWithOperations +from kubernetes.aio.client.models.v1_namespace import V1Namespace +from kubernetes.aio.client.models.v1_namespace_condition import V1NamespaceCondition +from kubernetes.aio.client.models.v1_namespace_list import V1NamespaceList +from kubernetes.aio.client.models.v1_namespace_spec import V1NamespaceSpec +from kubernetes.aio.client.models.v1_namespace_status import V1NamespaceStatus +from kubernetes.aio.client.models.v1_network_device_data import V1NetworkDeviceData +from kubernetes.aio.client.models.v1_network_policy import V1NetworkPolicy +from kubernetes.aio.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule +from kubernetes.aio.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule +from kubernetes.aio.client.models.v1_network_policy_list import V1NetworkPolicyList +from kubernetes.aio.client.models.v1_network_policy_peer import V1NetworkPolicyPeer +from kubernetes.aio.client.models.v1_network_policy_port import V1NetworkPolicyPort +from kubernetes.aio.client.models.v1_network_policy_spec import V1NetworkPolicySpec +from kubernetes.aio.client.models.v1_node import V1Node +from kubernetes.aio.client.models.v1_node_address import V1NodeAddress +from kubernetes.aio.client.models.v1_node_affinity import V1NodeAffinity +from kubernetes.aio.client.models.v1_node_allocatable_resource_claim_status import V1NodeAllocatableResourceClaimStatus +from kubernetes.aio.client.models.v1_node_allocatable_resource_mapping import V1NodeAllocatableResourceMapping +from kubernetes.aio.client.models.v1_node_condition import V1NodeCondition +from kubernetes.aio.client.models.v1_node_config_source import V1NodeConfigSource +from kubernetes.aio.client.models.v1_node_config_status import V1NodeConfigStatus +from kubernetes.aio.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints +from kubernetes.aio.client.models.v1_node_features import V1NodeFeatures +from kubernetes.aio.client.models.v1_node_list import V1NodeList +from kubernetes.aio.client.models.v1_node_runtime_handler import V1NodeRuntimeHandler +from kubernetes.aio.client.models.v1_node_runtime_handler_features import V1NodeRuntimeHandlerFeatures +from kubernetes.aio.client.models.v1_node_selector import V1NodeSelector +from kubernetes.aio.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement +from kubernetes.aio.client.models.v1_node_selector_term import V1NodeSelectorTerm +from kubernetes.aio.client.models.v1_node_spec import V1NodeSpec +from kubernetes.aio.client.models.v1_node_status import V1NodeStatus +from kubernetes.aio.client.models.v1_node_swap_status import V1NodeSwapStatus +from kubernetes.aio.client.models.v1_node_system_info import V1NodeSystemInfo +from kubernetes.aio.client.models.v1_non_resource_attributes import V1NonResourceAttributes +from kubernetes.aio.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule +from kubernetes.aio.client.models.v1_non_resource_rule import V1NonResourceRule +from kubernetes.aio.client.models.v1_object_field_selector import V1ObjectFieldSelector +from kubernetes.aio.client.models.v1_object_meta import V1ObjectMeta +from kubernetes.aio.client.models.v1_object_reference import V1ObjectReference +from kubernetes.aio.client.models.v1_opaque_device_configuration import V1OpaqueDeviceConfiguration +from kubernetes.aio.client.models.v1_overhead import V1Overhead +from kubernetes.aio.client.models.v1_owner_reference import V1OwnerReference +from kubernetes.aio.client.models.v1_param_kind import V1ParamKind +from kubernetes.aio.client.models.v1_param_ref import V1ParamRef +from kubernetes.aio.client.models.v1_parent_reference import V1ParentReference +from kubernetes.aio.client.models.v1_persistent_volume import V1PersistentVolume +from kubernetes.aio.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim +from kubernetes.aio.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition +from kubernetes.aio.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList +from kubernetes.aio.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec +from kubernetes.aio.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus +from kubernetes.aio.client.models.v1_persistent_volume_claim_template import V1PersistentVolumeClaimTemplate +from kubernetes.aio.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource +from kubernetes.aio.client.models.v1_persistent_volume_list import V1PersistentVolumeList +from kubernetes.aio.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec +from kubernetes.aio.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus +from kubernetes.aio.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource +from kubernetes.aio.client.models.v1_pod import V1Pod +from kubernetes.aio.client.models.v1_pod_affinity import V1PodAffinity +from kubernetes.aio.client.models.v1_pod_affinity_term import V1PodAffinityTerm +from kubernetes.aio.client.models.v1_pod_anti_affinity import V1PodAntiAffinity +from kubernetes.aio.client.models.v1_pod_certificate_projection import V1PodCertificateProjection +from kubernetes.aio.client.models.v1_pod_condition import V1PodCondition +from kubernetes.aio.client.models.v1_pod_dns_config import V1PodDNSConfig +from kubernetes.aio.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption +from kubernetes.aio.client.models.v1_pod_disruption_budget import V1PodDisruptionBudget +from kubernetes.aio.client.models.v1_pod_disruption_budget_list import V1PodDisruptionBudgetList +from kubernetes.aio.client.models.v1_pod_disruption_budget_spec import V1PodDisruptionBudgetSpec +from kubernetes.aio.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus +from kubernetes.aio.client.models.v1_pod_extended_resource_claim_status import V1PodExtendedResourceClaimStatus +from kubernetes.aio.client.models.v1_pod_failure_policy import V1PodFailurePolicy +from kubernetes.aio.client.models.v1_pod_failure_policy_on_exit_codes_requirement import V1PodFailurePolicyOnExitCodesRequirement +from kubernetes.aio.client.models.v1_pod_failure_policy_on_pod_conditions_pattern import V1PodFailurePolicyOnPodConditionsPattern +from kubernetes.aio.client.models.v1_pod_failure_policy_rule import V1PodFailurePolicyRule +from kubernetes.aio.client.models.v1_pod_ip import V1PodIP +from kubernetes.aio.client.models.v1_pod_list import V1PodList +from kubernetes.aio.client.models.v1_pod_os import V1PodOS +from kubernetes.aio.client.models.v1_pod_readiness_gate import V1PodReadinessGate +from kubernetes.aio.client.models.v1_pod_resource_claim import V1PodResourceClaim +from kubernetes.aio.client.models.v1_pod_resource_claim_status import V1PodResourceClaimStatus +from kubernetes.aio.client.models.v1_pod_scheduling_gate import V1PodSchedulingGate +from kubernetes.aio.client.models.v1_pod_scheduling_group import V1PodSchedulingGroup +from kubernetes.aio.client.models.v1_pod_security_context import V1PodSecurityContext +from kubernetes.aio.client.models.v1_pod_spec import V1PodSpec +from kubernetes.aio.client.models.v1_pod_status import V1PodStatus +from kubernetes.aio.client.models.v1_pod_template import V1PodTemplate +from kubernetes.aio.client.models.v1_pod_template_list import V1PodTemplateList +from kubernetes.aio.client.models.v1_pod_template_spec import V1PodTemplateSpec +from kubernetes.aio.client.models.v1_policy_rule import V1PolicyRule +from kubernetes.aio.client.models.v1_policy_rules_with_subjects import V1PolicyRulesWithSubjects +from kubernetes.aio.client.models.v1_port_status import V1PortStatus +from kubernetes.aio.client.models.v1_portworx_volume_source import V1PortworxVolumeSource +from kubernetes.aio.client.models.v1_preconditions import V1Preconditions +from kubernetes.aio.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm +from kubernetes.aio.client.models.v1_priority_class import V1PriorityClass +from kubernetes.aio.client.models.v1_priority_class_list import V1PriorityClassList +from kubernetes.aio.client.models.v1_priority_level_configuration import V1PriorityLevelConfiguration +from kubernetes.aio.client.models.v1_priority_level_configuration_condition import V1PriorityLevelConfigurationCondition +from kubernetes.aio.client.models.v1_priority_level_configuration_list import V1PriorityLevelConfigurationList +from kubernetes.aio.client.models.v1_priority_level_configuration_reference import V1PriorityLevelConfigurationReference +from kubernetes.aio.client.models.v1_priority_level_configuration_spec import V1PriorityLevelConfigurationSpec +from kubernetes.aio.client.models.v1_priority_level_configuration_status import V1PriorityLevelConfigurationStatus +from kubernetes.aio.client.models.v1_probe import V1Probe +from kubernetes.aio.client.models.v1_projected_volume_source import V1ProjectedVolumeSource +from kubernetes.aio.client.models.v1_queuing_configuration import V1QueuingConfiguration +from kubernetes.aio.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource +from kubernetes.aio.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource +from kubernetes.aio.client.models.v1_rbd_volume_source import V1RBDVolumeSource +from kubernetes.aio.client.models.v1_replica_set import V1ReplicaSet +from kubernetes.aio.client.models.v1_replica_set_condition import V1ReplicaSetCondition +from kubernetes.aio.client.models.v1_replica_set_list import V1ReplicaSetList +from kubernetes.aio.client.models.v1_replica_set_spec import V1ReplicaSetSpec +from kubernetes.aio.client.models.v1_replica_set_status import V1ReplicaSetStatus +from kubernetes.aio.client.models.v1_replication_controller import V1ReplicationController +from kubernetes.aio.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition +from kubernetes.aio.client.models.v1_replication_controller_list import V1ReplicationControllerList +from kubernetes.aio.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec +from kubernetes.aio.client.models.v1_replication_controller_status import V1ReplicationControllerStatus +from kubernetes.aio.client.models.v1_resource_attributes import V1ResourceAttributes +from kubernetes.aio.client.models.v1_resource_claim_consumer_reference import V1ResourceClaimConsumerReference +from kubernetes.aio.client.models.v1_resource_claim_list import V1ResourceClaimList +from kubernetes.aio.client.models.v1_resource_claim_spec import V1ResourceClaimSpec +from kubernetes.aio.client.models.v1_resource_claim_status import V1ResourceClaimStatus +from kubernetes.aio.client.models.v1_resource_claim_template import V1ResourceClaimTemplate +from kubernetes.aio.client.models.v1_resource_claim_template_list import V1ResourceClaimTemplateList +from kubernetes.aio.client.models.v1_resource_claim_template_spec import V1ResourceClaimTemplateSpec +from kubernetes.aio.client.models.v1_resource_field_selector import V1ResourceFieldSelector +from kubernetes.aio.client.models.v1_resource_health import V1ResourceHealth +from kubernetes.aio.client.models.v1_resource_policy_rule import V1ResourcePolicyRule +from kubernetes.aio.client.models.v1_resource_pool import V1ResourcePool +from kubernetes.aio.client.models.v1_resource_quota import V1ResourceQuota +from kubernetes.aio.client.models.v1_resource_quota_list import V1ResourceQuotaList +from kubernetes.aio.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec +from kubernetes.aio.client.models.v1_resource_quota_status import V1ResourceQuotaStatus +from kubernetes.aio.client.models.v1_resource_requirements import V1ResourceRequirements +from kubernetes.aio.client.models.v1_resource_rule import V1ResourceRule +from kubernetes.aio.client.models.v1_resource_slice import V1ResourceSlice +from kubernetes.aio.client.models.v1_resource_slice_list import V1ResourceSliceList +from kubernetes.aio.client.models.v1_resource_slice_spec import V1ResourceSliceSpec +from kubernetes.aio.client.models.v1_resource_status import V1ResourceStatus +from kubernetes.aio.client.models.v1_role import V1Role +from kubernetes.aio.client.models.v1_role_binding import V1RoleBinding +from kubernetes.aio.client.models.v1_role_binding_list import V1RoleBindingList +from kubernetes.aio.client.models.v1_role_list import V1RoleList +from kubernetes.aio.client.models.v1_role_ref import V1RoleRef +from kubernetes.aio.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet +from kubernetes.aio.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment +from kubernetes.aio.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy +from kubernetes.aio.client.models.v1_rule_with_operations import V1RuleWithOperations +from kubernetes.aio.client.models.v1_runtime_class import V1RuntimeClass +from kubernetes.aio.client.models.v1_runtime_class_list import V1RuntimeClassList +from kubernetes.aio.client.models.v1_se_linux_options import V1SELinuxOptions +from kubernetes.aio.client.models.v1_scale import V1Scale +from kubernetes.aio.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource +from kubernetes.aio.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource +from kubernetes.aio.client.models.v1_scale_spec import V1ScaleSpec +from kubernetes.aio.client.models.v1_scale_status import V1ScaleStatus +from kubernetes.aio.client.models.v1_scheduling import V1Scheduling +from kubernetes.aio.client.models.v1_scope_selector import V1ScopeSelector +from kubernetes.aio.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement +from kubernetes.aio.client.models.v1_seccomp_profile import V1SeccompProfile +from kubernetes.aio.client.models.v1_secret import V1Secret +from kubernetes.aio.client.models.v1_secret_env_source import V1SecretEnvSource +from kubernetes.aio.client.models.v1_secret_key_selector import V1SecretKeySelector +from kubernetes.aio.client.models.v1_secret_list import V1SecretList +from kubernetes.aio.client.models.v1_secret_projection import V1SecretProjection +from kubernetes.aio.client.models.v1_secret_reference import V1SecretReference +from kubernetes.aio.client.models.v1_secret_volume_source import V1SecretVolumeSource +from kubernetes.aio.client.models.v1_security_context import V1SecurityContext +from kubernetes.aio.client.models.v1_selectable_field import V1SelectableField +from kubernetes.aio.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview +from kubernetes.aio.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec +from kubernetes.aio.client.models.v1_self_subject_review import V1SelfSubjectReview +from kubernetes.aio.client.models.v1_self_subject_review_status import V1SelfSubjectReviewStatus +from kubernetes.aio.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview +from kubernetes.aio.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec +from kubernetes.aio.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR +from kubernetes.aio.client.models.v1_service import V1Service +from kubernetes.aio.client.models.v1_service_account import V1ServiceAccount +from kubernetes.aio.client.models.v1_service_account_list import V1ServiceAccountList +from kubernetes.aio.client.models.v1_service_account_subject import V1ServiceAccountSubject +from kubernetes.aio.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection +from kubernetes.aio.client.models.v1_service_backend_port import V1ServiceBackendPort +from kubernetes.aio.client.models.v1_service_cidr import V1ServiceCIDR +from kubernetes.aio.client.models.v1_service_cidr_list import V1ServiceCIDRList +from kubernetes.aio.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec +from kubernetes.aio.client.models.v1_service_cidr_status import V1ServiceCIDRStatus +from kubernetes.aio.client.models.v1_service_list import V1ServiceList +from kubernetes.aio.client.models.v1_service_port import V1ServicePort +from kubernetes.aio.client.models.v1_service_spec import V1ServiceSpec +from kubernetes.aio.client.models.v1_service_status import V1ServiceStatus +from kubernetes.aio.client.models.v1_session_affinity_config import V1SessionAffinityConfig +from kubernetes.aio.client.models.v1_shard_info import V1ShardInfo +from kubernetes.aio.client.models.v1_sleep_action import V1SleepAction +from kubernetes.aio.client.models.v1_stateful_set import V1StatefulSet +from kubernetes.aio.client.models.v1_stateful_set_condition import V1StatefulSetCondition +from kubernetes.aio.client.models.v1_stateful_set_list import V1StatefulSetList +from kubernetes.aio.client.models.v1_stateful_set_ordinals import V1StatefulSetOrdinals +from kubernetes.aio.client.models.v1_stateful_set_persistent_volume_claim_retention_policy import V1StatefulSetPersistentVolumeClaimRetentionPolicy +from kubernetes.aio.client.models.v1_stateful_set_spec import V1StatefulSetSpec +from kubernetes.aio.client.models.v1_stateful_set_status import V1StatefulSetStatus +from kubernetes.aio.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy +from kubernetes.aio.client.models.v1_status import V1Status +from kubernetes.aio.client.models.v1_status_cause import V1StatusCause +from kubernetes.aio.client.models.v1_status_details import V1StatusDetails +from kubernetes.aio.client.models.v1_storage_class import V1StorageClass +from kubernetes.aio.client.models.v1_storage_class_list import V1StorageClassList +from kubernetes.aio.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource +from kubernetes.aio.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource +from kubernetes.aio.client.models.v1_subject_access_review import V1SubjectAccessReview +from kubernetes.aio.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec +from kubernetes.aio.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus +from kubernetes.aio.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus +from kubernetes.aio.client.models.v1_success_policy import V1SuccessPolicy +from kubernetes.aio.client.models.v1_success_policy_rule import V1SuccessPolicyRule +from kubernetes.aio.client.models.v1_sysctl import V1Sysctl +from kubernetes.aio.client.models.v1_tcp_socket_action import V1TCPSocketAction +from kubernetes.aio.client.models.v1_taint import V1Taint +from kubernetes.aio.client.models.v1_token_request_spec import V1TokenRequestSpec +from kubernetes.aio.client.models.v1_token_request_status import V1TokenRequestStatus +from kubernetes.aio.client.models.v1_token_review import V1TokenReview +from kubernetes.aio.client.models.v1_token_review_spec import V1TokenReviewSpec +from kubernetes.aio.client.models.v1_token_review_status import V1TokenReviewStatus +from kubernetes.aio.client.models.v1_toleration import V1Toleration +from kubernetes.aio.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement +from kubernetes.aio.client.models.v1_topology_selector_term import V1TopologySelectorTerm +from kubernetes.aio.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint +from kubernetes.aio.client.models.v1_type_checking import V1TypeChecking +from kubernetes.aio.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference +from kubernetes.aio.client.models.v1_typed_object_reference import V1TypedObjectReference +from kubernetes.aio.client.models.v1_uncounted_terminated_pods import V1UncountedTerminatedPods +from kubernetes.aio.client.models.v1_user_info import V1UserInfo +from kubernetes.aio.client.models.v1_user_subject import V1UserSubject +from kubernetes.aio.client.models.v1_validating_admission_policy import V1ValidatingAdmissionPolicy +from kubernetes.aio.client.models.v1_validating_admission_policy_binding import V1ValidatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1_validating_admission_policy_binding_list import V1ValidatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1_validating_admission_policy_binding_spec import V1ValidatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1_validating_admission_policy_list import V1ValidatingAdmissionPolicyList +from kubernetes.aio.client.models.v1_validating_admission_policy_spec import V1ValidatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1_validating_admission_policy_status import V1ValidatingAdmissionPolicyStatus +from kubernetes.aio.client.models.v1_validating_webhook import V1ValidatingWebhook +from kubernetes.aio.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration +from kubernetes.aio.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList +from kubernetes.aio.client.models.v1_validation import V1Validation +from kubernetes.aio.client.models.v1_validation_rule import V1ValidationRule +from kubernetes.aio.client.models.v1_variable import V1Variable +from kubernetes.aio.client.models.v1_volume import V1Volume +from kubernetes.aio.client.models.v1_volume_attachment import V1VolumeAttachment +from kubernetes.aio.client.models.v1_volume_attachment_list import V1VolumeAttachmentList +from kubernetes.aio.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource +from kubernetes.aio.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec +from kubernetes.aio.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus +from kubernetes.aio.client.models.v1_volume_attributes_class import V1VolumeAttributesClass +from kubernetes.aio.client.models.v1_volume_attributes_class_list import V1VolumeAttributesClassList +from kubernetes.aio.client.models.v1_volume_device import V1VolumeDevice +from kubernetes.aio.client.models.v1_volume_error import V1VolumeError +from kubernetes.aio.client.models.v1_volume_mount import V1VolumeMount +from kubernetes.aio.client.models.v1_volume_mount_status import V1VolumeMountStatus +from kubernetes.aio.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity +from kubernetes.aio.client.models.v1_volume_node_resources import V1VolumeNodeResources +from kubernetes.aio.client.models.v1_volume_projection import V1VolumeProjection +from kubernetes.aio.client.models.v1_volume_resource_requirements import V1VolumeResourceRequirements +from kubernetes.aio.client.models.v1_volume_status import V1VolumeStatus +from kubernetes.aio.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource +from kubernetes.aio.client.models.v1_watch_event import V1WatchEvent +from kubernetes.aio.client.models.v1_webhook_conversion import V1WebhookConversion +from kubernetes.aio.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm +from kubernetes.aio.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions +from kubernetes.aio.client.models.v1alpha1_apply_configuration import V1alpha1ApplyConfiguration +from kubernetes.aio.client.models.v1alpha1_cluster_trust_bundle import V1alpha1ClusterTrustBundle +from kubernetes.aio.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1ClusterTrustBundleList +from kubernetes.aio.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec +from kubernetes.aio.client.models.v1alpha1_json_patch import V1alpha1JSONPatch +from kubernetes.aio.client.models.v1alpha1_match_condition import V1alpha1MatchCondition +from kubernetes.aio.client.models.v1alpha1_match_resources import V1alpha1MatchResources +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy import V1alpha1MutatingAdmissionPolicy +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_binding import V1alpha1MutatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_binding_list import V1alpha1MutatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_binding_spec import V1alpha1MutatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_list import V1alpha1MutatingAdmissionPolicyList +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_spec import V1alpha1MutatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1alpha1_mutation import V1alpha1Mutation +from kubernetes.aio.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations +from kubernetes.aio.client.models.v1alpha1_param_kind import V1alpha1ParamKind +from kubernetes.aio.client.models.v1alpha1_param_ref import V1alpha1ParamRef +from kubernetes.aio.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion +from kubernetes.aio.client.models.v1alpha1_storage_version import V1alpha1StorageVersion +from kubernetes.aio.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition +from kubernetes.aio.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList +from kubernetes.aio.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus +from kubernetes.aio.client.models.v1alpha1_variable import V1alpha1Variable +from kubernetes.aio.client.models.v1alpha2_gang_scheduling_policy import V1alpha2GangSchedulingPolicy +from kubernetes.aio.client.models.v1alpha2_lease_candidate import V1alpha2LeaseCandidate +from kubernetes.aio.client.models.v1alpha2_lease_candidate_list import V1alpha2LeaseCandidateList +from kubernetes.aio.client.models.v1alpha2_lease_candidate_spec import V1alpha2LeaseCandidateSpec +from kubernetes.aio.client.models.v1alpha2_pod_group import V1alpha2PodGroup +from kubernetes.aio.client.models.v1alpha2_pod_group_list import V1alpha2PodGroupList +from kubernetes.aio.client.models.v1alpha2_pod_group_resource_claim import V1alpha2PodGroupResourceClaim +from kubernetes.aio.client.models.v1alpha2_pod_group_resource_claim_status import V1alpha2PodGroupResourceClaimStatus +from kubernetes.aio.client.models.v1alpha2_pod_group_scheduling_constraints import V1alpha2PodGroupSchedulingConstraints +from kubernetes.aio.client.models.v1alpha2_pod_group_scheduling_policy import V1alpha2PodGroupSchedulingPolicy +from kubernetes.aio.client.models.v1alpha2_pod_group_spec import V1alpha2PodGroupSpec +from kubernetes.aio.client.models.v1alpha2_pod_group_status import V1alpha2PodGroupStatus +from kubernetes.aio.client.models.v1alpha2_pod_group_template import V1alpha2PodGroupTemplate +from kubernetes.aio.client.models.v1alpha2_pod_group_template_reference import V1alpha2PodGroupTemplateReference +from kubernetes.aio.client.models.v1alpha2_topology_constraint import V1alpha2TopologyConstraint +from kubernetes.aio.client.models.v1alpha2_typed_local_object_reference import V1alpha2TypedLocalObjectReference +from kubernetes.aio.client.models.v1alpha2_workload import V1alpha2Workload +from kubernetes.aio.client.models.v1alpha2_workload_list import V1alpha2WorkloadList +from kubernetes.aio.client.models.v1alpha2_workload_pod_group_template_reference import V1alpha2WorkloadPodGroupTemplateReference +from kubernetes.aio.client.models.v1alpha2_workload_spec import V1alpha2WorkloadSpec +from kubernetes.aio.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint +from kubernetes.aio.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule +from kubernetes.aio.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList +from kubernetes.aio.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec +from kubernetes.aio.client.models.v1alpha3_device_taint_rule_status import V1alpha3DeviceTaintRuleStatus +from kubernetes.aio.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector +from kubernetes.aio.client.models.v1alpha3_pool_status import V1alpha3PoolStatus +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request import V1alpha3ResourcePoolStatusRequest +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request_list import V1alpha3ResourcePoolStatusRequestList +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request_spec import V1alpha3ResourcePoolStatusRequestSpec +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request_status import V1alpha3ResourcePoolStatusRequestStatus +from kubernetes.aio.client.models.v1beta1_allocated_device_status import V1beta1AllocatedDeviceStatus +from kubernetes.aio.client.models.v1beta1_allocation_result import V1beta1AllocationResult +from kubernetes.aio.client.models.v1beta1_apply_configuration import V1beta1ApplyConfiguration +from kubernetes.aio.client.models.v1beta1_basic_device import V1beta1BasicDevice +from kubernetes.aio.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector +from kubernetes.aio.client.models.v1beta1_capacity_request_policy import V1beta1CapacityRequestPolicy +from kubernetes.aio.client.models.v1beta1_capacity_request_policy_range import V1beta1CapacityRequestPolicyRange +from kubernetes.aio.client.models.v1beta1_capacity_requirements import V1beta1CapacityRequirements +from kubernetes.aio.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle +from kubernetes.aio.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList +from kubernetes.aio.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec +from kubernetes.aio.client.models.v1beta1_counter import V1beta1Counter +from kubernetes.aio.client.models.v1beta1_counter_set import V1beta1CounterSet +from kubernetes.aio.client.models.v1beta1_device import V1beta1Device +from kubernetes.aio.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration +from kubernetes.aio.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult +from kubernetes.aio.client.models.v1beta1_device_attribute import V1beta1DeviceAttribute +from kubernetes.aio.client.models.v1beta1_device_capacity import V1beta1DeviceCapacity +from kubernetes.aio.client.models.v1beta1_device_claim import V1beta1DeviceClaim +from kubernetes.aio.client.models.v1beta1_device_claim_configuration import V1beta1DeviceClaimConfiguration +from kubernetes.aio.client.models.v1beta1_device_class import V1beta1DeviceClass +from kubernetes.aio.client.models.v1beta1_device_class_configuration import V1beta1DeviceClassConfiguration +from kubernetes.aio.client.models.v1beta1_device_class_list import V1beta1DeviceClassList +from kubernetes.aio.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec +from kubernetes.aio.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint +from kubernetes.aio.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption +from kubernetes.aio.client.models.v1beta1_device_request import V1beta1DeviceRequest +from kubernetes.aio.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult +from kubernetes.aio.client.models.v1beta1_device_selector import V1beta1DeviceSelector +from kubernetes.aio.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest +from kubernetes.aio.client.models.v1beta1_device_taint import V1beta1DeviceTaint +from kubernetes.aio.client.models.v1beta1_device_toleration import V1beta1DeviceToleration +from kubernetes.aio.client.models.v1beta1_ip_address import V1beta1IPAddress +from kubernetes.aio.client.models.v1beta1_ip_address_list import V1beta1IPAddressList +from kubernetes.aio.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec +from kubernetes.aio.client.models.v1beta1_json_patch import V1beta1JSONPatch +from kubernetes.aio.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate +from kubernetes.aio.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList +from kubernetes.aio.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec +from kubernetes.aio.client.models.v1beta1_match_condition import V1beta1MatchCondition +from kubernetes.aio.client.models.v1beta1_match_resources import V1beta1MatchResources +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy import V1beta1MutatingAdmissionPolicy +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_binding import V1beta1MutatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_binding_list import V1beta1MutatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_binding_spec import V1beta1MutatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_list import V1beta1MutatingAdmissionPolicyList +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_spec import V1beta1MutatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1beta1_mutation import V1beta1Mutation +from kubernetes.aio.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations +from kubernetes.aio.client.models.v1beta1_network_device_data import V1beta1NetworkDeviceData +from kubernetes.aio.client.models.v1beta1_node_allocatable_resource_mapping import V1beta1NodeAllocatableResourceMapping +from kubernetes.aio.client.models.v1beta1_opaque_device_configuration import V1beta1OpaqueDeviceConfiguration +from kubernetes.aio.client.models.v1beta1_param_kind import V1beta1ParamKind +from kubernetes.aio.client.models.v1beta1_param_ref import V1beta1ParamRef +from kubernetes.aio.client.models.v1beta1_parent_reference import V1beta1ParentReference +from kubernetes.aio.client.models.v1beta1_pod_certificate_request import V1beta1PodCertificateRequest +from kubernetes.aio.client.models.v1beta1_pod_certificate_request_list import V1beta1PodCertificateRequestList +from kubernetes.aio.client.models.v1beta1_pod_certificate_request_spec import V1beta1PodCertificateRequestSpec +from kubernetes.aio.client.models.v1beta1_pod_certificate_request_status import V1beta1PodCertificateRequestStatus +from kubernetes.aio.client.models.v1beta1_resource_claim import V1beta1ResourceClaim +from kubernetes.aio.client.models.v1beta1_resource_claim_consumer_reference import V1beta1ResourceClaimConsumerReference +from kubernetes.aio.client.models.v1beta1_resource_claim_list import V1beta1ResourceClaimList +from kubernetes.aio.client.models.v1beta1_resource_claim_spec import V1beta1ResourceClaimSpec +from kubernetes.aio.client.models.v1beta1_resource_claim_status import V1beta1ResourceClaimStatus +from kubernetes.aio.client.models.v1beta1_resource_claim_template import V1beta1ResourceClaimTemplate +from kubernetes.aio.client.models.v1beta1_resource_claim_template_list import V1beta1ResourceClaimTemplateList +from kubernetes.aio.client.models.v1beta1_resource_claim_template_spec import V1beta1ResourceClaimTemplateSpec +from kubernetes.aio.client.models.v1beta1_resource_pool import V1beta1ResourcePool +from kubernetes.aio.client.models.v1beta1_resource_slice import V1beta1ResourceSlice +from kubernetes.aio.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList +from kubernetes.aio.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec +from kubernetes.aio.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR +from kubernetes.aio.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList +from kubernetes.aio.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec +from kubernetes.aio.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus +from kubernetes.aio.client.models.v1beta1_storage_version_migration import V1beta1StorageVersionMigration +from kubernetes.aio.client.models.v1beta1_storage_version_migration_list import V1beta1StorageVersionMigrationList +from kubernetes.aio.client.models.v1beta1_storage_version_migration_spec import V1beta1StorageVersionMigrationSpec +from kubernetes.aio.client.models.v1beta1_storage_version_migration_status import V1beta1StorageVersionMigrationStatus +from kubernetes.aio.client.models.v1beta1_variable import V1beta1Variable +from kubernetes.aio.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass +from kubernetes.aio.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList +from kubernetes.aio.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus +from kubernetes.aio.client.models.v1beta2_allocation_result import V1beta2AllocationResult +from kubernetes.aio.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector +from kubernetes.aio.client.models.v1beta2_capacity_request_policy import V1beta2CapacityRequestPolicy +from kubernetes.aio.client.models.v1beta2_capacity_request_policy_range import V1beta2CapacityRequestPolicyRange +from kubernetes.aio.client.models.v1beta2_capacity_requirements import V1beta2CapacityRequirements +from kubernetes.aio.client.models.v1beta2_counter import V1beta2Counter +from kubernetes.aio.client.models.v1beta2_counter_set import V1beta2CounterSet +from kubernetes.aio.client.models.v1beta2_device import V1beta2Device +from kubernetes.aio.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration +from kubernetes.aio.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult +from kubernetes.aio.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute +from kubernetes.aio.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity +from kubernetes.aio.client.models.v1beta2_device_claim import V1beta2DeviceClaim +from kubernetes.aio.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration +from kubernetes.aio.client.models.v1beta2_device_class import V1beta2DeviceClass +from kubernetes.aio.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration +from kubernetes.aio.client.models.v1beta2_device_class_list import V1beta2DeviceClassList +from kubernetes.aio.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec +from kubernetes.aio.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint +from kubernetes.aio.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption +from kubernetes.aio.client.models.v1beta2_device_request import V1beta2DeviceRequest +from kubernetes.aio.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult +from kubernetes.aio.client.models.v1beta2_device_selector import V1beta2DeviceSelector +from kubernetes.aio.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest +from kubernetes.aio.client.models.v1beta2_device_taint import V1beta2DeviceTaint +from kubernetes.aio.client.models.v1beta2_device_taint_rule import V1beta2DeviceTaintRule +from kubernetes.aio.client.models.v1beta2_device_taint_rule_list import V1beta2DeviceTaintRuleList +from kubernetes.aio.client.models.v1beta2_device_taint_rule_spec import V1beta2DeviceTaintRuleSpec +from kubernetes.aio.client.models.v1beta2_device_taint_rule_status import V1beta2DeviceTaintRuleStatus +from kubernetes.aio.client.models.v1beta2_device_taint_selector import V1beta2DeviceTaintSelector +from kubernetes.aio.client.models.v1beta2_device_toleration import V1beta2DeviceToleration +from kubernetes.aio.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest +from kubernetes.aio.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData +from kubernetes.aio.client.models.v1beta2_node_allocatable_resource_mapping import V1beta2NodeAllocatableResourceMapping +from kubernetes.aio.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration +from kubernetes.aio.client.models.v1beta2_resource_claim import V1beta2ResourceClaim +from kubernetes.aio.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference +from kubernetes.aio.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList +from kubernetes.aio.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec +from kubernetes.aio.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus +from kubernetes.aio.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate +from kubernetes.aio.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList +from kubernetes.aio.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec +from kubernetes.aio.client.models.v1beta2_resource_pool import V1beta2ResourcePool +from kubernetes.aio.client.models.v1beta2_resource_slice import V1beta2ResourceSlice +from kubernetes.aio.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList +from kubernetes.aio.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec +from kubernetes.aio.client.models.v2_api_group_discovery import V2APIGroupDiscovery +from kubernetes.aio.client.models.v2_api_group_discovery_list import V2APIGroupDiscoveryList +from kubernetes.aio.client.models.v2_api_resource_discovery import V2APIResourceDiscovery +from kubernetes.aio.client.models.v2_api_subresource_discovery import V2APISubresourceDiscovery +from kubernetes.aio.client.models.v2_api_version_discovery import V2APIVersionDiscovery +from kubernetes.aio.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource +from kubernetes.aio.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus +from kubernetes.aio.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference +from kubernetes.aio.client.models.v2_external_metric_source import V2ExternalMetricSource +from kubernetes.aio.client.models.v2_external_metric_status import V2ExternalMetricStatus +from kubernetes.aio.client.models.v2_hpa_scaling_policy import V2HPAScalingPolicy +from kubernetes.aio.client.models.v2_hpa_scaling_rules import V2HPAScalingRules +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler import V2HorizontalPodAutoscaler +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_condition import V2HorizontalPodAutoscalerCondition +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_list import V2HorizontalPodAutoscalerList +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_spec import V2HorizontalPodAutoscalerSpec +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_status import V2HorizontalPodAutoscalerStatus +from kubernetes.aio.client.models.v2_metric_identifier import V2MetricIdentifier +from kubernetes.aio.client.models.v2_metric_spec import V2MetricSpec +from kubernetes.aio.client.models.v2_metric_status import V2MetricStatus +from kubernetes.aio.client.models.v2_metric_target import V2MetricTarget +from kubernetes.aio.client.models.v2_metric_value_status import V2MetricValueStatus +from kubernetes.aio.client.models.v2_object_metric_source import V2ObjectMetricSource +from kubernetes.aio.client.models.v2_object_metric_status import V2ObjectMetricStatus +from kubernetes.aio.client.models.v2_pods_metric_source import V2PodsMetricSource +from kubernetes.aio.client.models.v2_pods_metric_status import V2PodsMetricStatus +from kubernetes.aio.client.models.v2_resource_metric_source import V2ResourceMetricSource +from kubernetes.aio.client.models.v2_resource_metric_status import V2ResourceMetricStatus +from kubernetes.aio.client.models.v2beta1_api_group_discovery import V2beta1APIGroupDiscovery +from kubernetes.aio.client.models.v2beta1_api_group_discovery_list import V2beta1APIGroupDiscoveryList +from kubernetes.aio.client.models.v2beta1_api_resource_discovery import V2beta1APIResourceDiscovery +from kubernetes.aio.client.models.v2beta1_api_subresource_discovery import V2beta1APISubresourceDiscovery +from kubernetes.aio.client.models.v2beta1_api_version_discovery import V2beta1APIVersionDiscovery +from kubernetes.aio.client.models.version_info import VersionInfo + diff --git a/kubernetes/aio/client/api/__init__.py b/kubernetes/aio/client/api/__init__.py new file mode 100644 index 0000000000..136cbdf7e0 --- /dev/null +++ b/kubernetes/aio/client/api/__init__.py @@ -0,0 +1,70 @@ +from __future__ import absolute_import + +# flake8: noqa + +# import apis into api package +from kubernetes.aio.client.api.well_known_api import WellKnownApi +from kubernetes.aio.client.api.admissionregistration_api import AdmissionregistrationApi +from kubernetes.aio.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api +from kubernetes.aio.client.api.admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api +from kubernetes.aio.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api +from kubernetes.aio.client.api.apiextensions_api import ApiextensionsApi +from kubernetes.aio.client.api.apiextensions_v1_api import ApiextensionsV1Api +from kubernetes.aio.client.api.apiregistration_api import ApiregistrationApi +from kubernetes.aio.client.api.apiregistration_v1_api import ApiregistrationV1Api +from kubernetes.aio.client.api.apis_api import ApisApi +from kubernetes.aio.client.api.apps_api import AppsApi +from kubernetes.aio.client.api.apps_v1_api import AppsV1Api +from kubernetes.aio.client.api.authentication_api import AuthenticationApi +from kubernetes.aio.client.api.authentication_v1_api import AuthenticationV1Api +from kubernetes.aio.client.api.authorization_api import AuthorizationApi +from kubernetes.aio.client.api.authorization_v1_api import AuthorizationV1Api +from kubernetes.aio.client.api.autoscaling_api import AutoscalingApi +from kubernetes.aio.client.api.autoscaling_v1_api import AutoscalingV1Api +from kubernetes.aio.client.api.autoscaling_v2_api import AutoscalingV2Api +from kubernetes.aio.client.api.batch_api import BatchApi +from kubernetes.aio.client.api.batch_v1_api import BatchV1Api +from kubernetes.aio.client.api.certificates_api import CertificatesApi +from kubernetes.aio.client.api.certificates_v1_api import CertificatesV1Api +from kubernetes.aio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api +from kubernetes.aio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api +from kubernetes.aio.client.api.coordination_api import CoordinationApi +from kubernetes.aio.client.api.coordination_v1_api import CoordinationV1Api +from kubernetes.aio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api +from kubernetes.aio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api +from kubernetes.aio.client.api.core_api import CoreApi +from kubernetes.aio.client.api.core_v1_api import CoreV1Api +from kubernetes.aio.client.api.custom_objects_api import CustomObjectsApi +from kubernetes.aio.client.api.discovery_api import DiscoveryApi +from kubernetes.aio.client.api.discovery_v1_api import DiscoveryV1Api +from kubernetes.aio.client.api.events_api import EventsApi +from kubernetes.aio.client.api.events_v1_api import EventsV1Api +from kubernetes.aio.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi +from kubernetes.aio.client.api.flowcontrol_apiserver_v1_api import FlowcontrolApiserverV1Api +from kubernetes.aio.client.api.internal_apiserver_api import InternalApiserverApi +from kubernetes.aio.client.api.internal_apiserver_v1alpha1_api import InternalApiserverV1alpha1Api +from kubernetes.aio.client.api.logs_api import LogsApi +from kubernetes.aio.client.api.networking_api import NetworkingApi +from kubernetes.aio.client.api.networking_v1_api import NetworkingV1Api +from kubernetes.aio.client.api.networking_v1beta1_api import NetworkingV1beta1Api +from kubernetes.aio.client.api.node_api import NodeApi +from kubernetes.aio.client.api.node_v1_api import NodeV1Api +from kubernetes.aio.client.api.openid_api import OpenidApi +from kubernetes.aio.client.api.policy_api import PolicyApi +from kubernetes.aio.client.api.policy_v1_api import PolicyV1Api +from kubernetes.aio.client.api.rbac_authorization_api import RbacAuthorizationApi +from kubernetes.aio.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api +from kubernetes.aio.client.api.resource_api import ResourceApi +from kubernetes.aio.client.api.resource_v1_api import ResourceV1Api +from kubernetes.aio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api +from kubernetes.aio.client.api.resource_v1beta1_api import ResourceV1beta1Api +from kubernetes.aio.client.api.resource_v1beta2_api import ResourceV1beta2Api +from kubernetes.aio.client.api.scheduling_api import SchedulingApi +from kubernetes.aio.client.api.scheduling_v1_api import SchedulingV1Api +from kubernetes.aio.client.api.scheduling_v1alpha2_api import SchedulingV1alpha2Api +from kubernetes.aio.client.api.storage_api import StorageApi +from kubernetes.aio.client.api.storage_v1_api import StorageV1Api +from kubernetes.aio.client.api.storage_v1beta1_api import StorageV1beta1Api +from kubernetes.aio.client.api.storagemigration_api import StoragemigrationApi +from kubernetes.aio.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api +from kubernetes.aio.client.api.version_api import VersionApi diff --git a/kubernetes_asyncio/client/api/admissionregistration_api.py b/kubernetes/aio/client/api/admissionregistration_api.py similarity index 98% rename from kubernetes_asyncio/client/api/admissionregistration_api.py rename to kubernetes/aio/client/api/admissionregistration_api.py index e0b362f495..96fadddd40 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_api.py +++ b/kubernetes/aio/client/api/admissionregistration_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/admissionregistration_v1_api.py b/kubernetes/aio/client/api/admissionregistration_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/admissionregistration_v1_api.py rename to kubernetes/aio/client/api/admissionregistration_v1_api.py index 078337ea22..724a491538 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_v1_api.py +++ b/kubernetes/aio/client/api/admissionregistration_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/admissionregistration_v1alpha1_api.py b/kubernetes/aio/client/api/admissionregistration_v1alpha1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/admissionregistration_v1alpha1_api.py rename to kubernetes/aio/client/api/admissionregistration_v1alpha1_api.py index 64c00fff5e..94a832a43d 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_v1alpha1_api.py +++ b/kubernetes/aio/client/api/admissionregistration_v1alpha1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/admissionregistration_v1beta1_api.py b/kubernetes/aio/client/api/admissionregistration_v1beta1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/admissionregistration_v1beta1_api.py rename to kubernetes/aio/client/api/admissionregistration_v1beta1_api.py index 4fdc48f682..ba4d4aca92 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes/aio/client/api/admissionregistration_v1beta1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/apiextensions_api.py b/kubernetes/aio/client/api/apiextensions_api.py similarity index 97% rename from kubernetes_asyncio/client/api/apiextensions_api.py rename to kubernetes/aio/client/api/apiextensions_api.py index 713c7c3b2c..e0f67f9514 100644 --- a/kubernetes_asyncio/client/api/apiextensions_api.py +++ b/kubernetes/aio/client/api/apiextensions_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/apiextensions_v1_api.py b/kubernetes/aio/client/api/apiextensions_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/apiextensions_v1_api.py rename to kubernetes/aio/client/api/apiextensions_v1_api.py index b4a0b7b00f..52e786e0ce 100644 --- a/kubernetes_asyncio/client/api/apiextensions_v1_api.py +++ b/kubernetes/aio/client/api/apiextensions_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/apiregistration_api.py b/kubernetes/aio/client/api/apiregistration_api.py similarity index 98% rename from kubernetes_asyncio/client/api/apiregistration_api.py rename to kubernetes/aio/client/api/apiregistration_api.py index 456df8c362..aed037e4a4 100644 --- a/kubernetes_asyncio/client/api/apiregistration_api.py +++ b/kubernetes/aio/client/api/apiregistration_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/apiregistration_v1_api.py b/kubernetes/aio/client/api/apiregistration_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/apiregistration_v1_api.py rename to kubernetes/aio/client/api/apiregistration_v1_api.py index 4ac4797e6a..8ddd75b1c9 100644 --- a/kubernetes_asyncio/client/api/apiregistration_v1_api.py +++ b/kubernetes/aio/client/api/apiregistration_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/apis_api.py b/kubernetes/aio/client/api/apis_api.py similarity index 98% rename from kubernetes_asyncio/client/api/apis_api.py rename to kubernetes/aio/client/api/apis_api.py index ad076ced6e..860710ef45 100644 --- a/kubernetes_asyncio/client/api/apis_api.py +++ b/kubernetes/aio/client/api/apis_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/apps_api.py b/kubernetes/aio/client/api/apps_api.py similarity index 97% rename from kubernetes_asyncio/client/api/apps_api.py rename to kubernetes/aio/client/api/apps_api.py index 4f69807c24..d3b95c5ae7 100644 --- a/kubernetes_asyncio/client/api/apps_api.py +++ b/kubernetes/aio/client/api/apps_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/apps_v1_api.py b/kubernetes/aio/client/api/apps_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/apps_v1_api.py rename to kubernetes/aio/client/api/apps_v1_api.py index 9f92d0104c..783b93aa78 100644 --- a/kubernetes_asyncio/client/api/apps_v1_api.py +++ b/kubernetes/aio/client/api/apps_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/authentication_api.py b/kubernetes/aio/client/api/authentication_api.py similarity index 97% rename from kubernetes_asyncio/client/api/authentication_api.py rename to kubernetes/aio/client/api/authentication_api.py index 306dbefcb5..295897f2c8 100644 --- a/kubernetes_asyncio/client/api/authentication_api.py +++ b/kubernetes/aio/client/api/authentication_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/authentication_v1_api.py b/kubernetes/aio/client/api/authentication_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/authentication_v1_api.py rename to kubernetes/aio/client/api/authentication_v1_api.py index 2afec67ee8..0586153a10 100644 --- a/kubernetes_asyncio/client/api/authentication_v1_api.py +++ b/kubernetes/aio/client/api/authentication_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/authorization_api.py b/kubernetes/aio/client/api/authorization_api.py similarity index 97% rename from kubernetes_asyncio/client/api/authorization_api.py rename to kubernetes/aio/client/api/authorization_api.py index 3efec16c07..0c14b06777 100644 --- a/kubernetes_asyncio/client/api/authorization_api.py +++ b/kubernetes/aio/client/api/authorization_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/authorization_v1_api.py b/kubernetes/aio/client/api/authorization_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/authorization_v1_api.py rename to kubernetes/aio/client/api/authorization_v1_api.py index fe41ace86a..411c2ce1ba 100644 --- a/kubernetes_asyncio/client/api/authorization_v1_api.py +++ b/kubernetes/aio/client/api/authorization_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/autoscaling_api.py b/kubernetes/aio/client/api/autoscaling_api.py similarity index 97% rename from kubernetes_asyncio/client/api/autoscaling_api.py rename to kubernetes/aio/client/api/autoscaling_api.py index d3922637e3..3e5b57e679 100644 --- a/kubernetes_asyncio/client/api/autoscaling_api.py +++ b/kubernetes/aio/client/api/autoscaling_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/autoscaling_v1_api.py b/kubernetes/aio/client/api/autoscaling_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/autoscaling_v1_api.py rename to kubernetes/aio/client/api/autoscaling_v1_api.py index dc66f09103..636ad9cea2 100644 --- a/kubernetes_asyncio/client/api/autoscaling_v1_api.py +++ b/kubernetes/aio/client/api/autoscaling_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/autoscaling_v2_api.py b/kubernetes/aio/client/api/autoscaling_v2_api.py similarity index 99% rename from kubernetes_asyncio/client/api/autoscaling_v2_api.py rename to kubernetes/aio/client/api/autoscaling_v2_api.py index 42128d7619..72df7e1111 100644 --- a/kubernetes_asyncio/client/api/autoscaling_v2_api.py +++ b/kubernetes/aio/client/api/autoscaling_v2_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/batch_api.py b/kubernetes/aio/client/api/batch_api.py similarity index 97% rename from kubernetes_asyncio/client/api/batch_api.py rename to kubernetes/aio/client/api/batch_api.py index ca5d8d4753..e8b7f154ed 100644 --- a/kubernetes_asyncio/client/api/batch_api.py +++ b/kubernetes/aio/client/api/batch_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/batch_v1_api.py b/kubernetes/aio/client/api/batch_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/batch_v1_api.py rename to kubernetes/aio/client/api/batch_v1_api.py index 2066a6d884..700f3e0bb4 100644 --- a/kubernetes_asyncio/client/api/batch_v1_api.py +++ b/kubernetes/aio/client/api/batch_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/certificates_api.py b/kubernetes/aio/client/api/certificates_api.py similarity index 97% rename from kubernetes_asyncio/client/api/certificates_api.py rename to kubernetes/aio/client/api/certificates_api.py index b8ad94ae69..1ff380d219 100644 --- a/kubernetes_asyncio/client/api/certificates_api.py +++ b/kubernetes/aio/client/api/certificates_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/certificates_v1_api.py b/kubernetes/aio/client/api/certificates_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/certificates_v1_api.py rename to kubernetes/aio/client/api/certificates_v1_api.py index 103d051e34..03b3afe897 100644 --- a/kubernetes_asyncio/client/api/certificates_v1_api.py +++ b/kubernetes/aio/client/api/certificates_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/certificates_v1alpha1_api.py b/kubernetes/aio/client/api/certificates_v1alpha1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/certificates_v1alpha1_api.py rename to kubernetes/aio/client/api/certificates_v1alpha1_api.py index 11fea771d3..a1d8b76f85 100644 --- a/kubernetes_asyncio/client/api/certificates_v1alpha1_api.py +++ b/kubernetes/aio/client/api/certificates_v1alpha1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/certificates_v1beta1_api.py b/kubernetes/aio/client/api/certificates_v1beta1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/certificates_v1beta1_api.py rename to kubernetes/aio/client/api/certificates_v1beta1_api.py index a6925b7aad..355aa01464 100644 --- a/kubernetes_asyncio/client/api/certificates_v1beta1_api.py +++ b/kubernetes/aio/client/api/certificates_v1beta1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/coordination_api.py b/kubernetes/aio/client/api/coordination_api.py similarity index 97% rename from kubernetes_asyncio/client/api/coordination_api.py rename to kubernetes/aio/client/api/coordination_api.py index a84003eacf..cc77878e04 100644 --- a/kubernetes_asyncio/client/api/coordination_api.py +++ b/kubernetes/aio/client/api/coordination_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/coordination_v1_api.py b/kubernetes/aio/client/api/coordination_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/coordination_v1_api.py rename to kubernetes/aio/client/api/coordination_v1_api.py index 4a85d21698..f1e7c00315 100644 --- a/kubernetes_asyncio/client/api/coordination_v1_api.py +++ b/kubernetes/aio/client/api/coordination_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/coordination_v1alpha2_api.py b/kubernetes/aio/client/api/coordination_v1alpha2_api.py similarity index 99% rename from kubernetes_asyncio/client/api/coordination_v1alpha2_api.py rename to kubernetes/aio/client/api/coordination_v1alpha2_api.py index 910a0b4a5a..9cc1ca5c87 100644 --- a/kubernetes_asyncio/client/api/coordination_v1alpha2_api.py +++ b/kubernetes/aio/client/api/coordination_v1alpha2_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/coordination_v1beta1_api.py b/kubernetes/aio/client/api/coordination_v1beta1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/coordination_v1beta1_api.py rename to kubernetes/aio/client/api/coordination_v1beta1_api.py index 05f0d0c0b2..770cbb46a1 100644 --- a/kubernetes_asyncio/client/api/coordination_v1beta1_api.py +++ b/kubernetes/aio/client/api/coordination_v1beta1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/core_api.py b/kubernetes/aio/client/api/core_api.py similarity index 97% rename from kubernetes_asyncio/client/api/core_api.py rename to kubernetes/aio/client/api/core_api.py index d55e7fd2c5..33aa719945 100644 --- a/kubernetes_asyncio/client/api/core_api.py +++ b/kubernetes/aio/client/api/core_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/core_v1_api.py b/kubernetes/aio/client/api/core_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/core_v1_api.py rename to kubernetes/aio/client/api/core_v1_api.py index 695ec992f8..f4749751e2 100644 --- a/kubernetes_asyncio/client/api/core_v1_api.py +++ b/kubernetes/aio/client/api/core_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/custom_objects_api.py b/kubernetes/aio/client/api/custom_objects_api.py similarity index 99% rename from kubernetes_asyncio/client/api/custom_objects_api.py rename to kubernetes/aio/client/api/custom_objects_api.py index 8560fb8860..dfb9b6656a 100644 --- a/kubernetes_asyncio/client/api/custom_objects_api.py +++ b/kubernetes/aio/client/api/custom_objects_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/discovery_api.py b/kubernetes/aio/client/api/discovery_api.py similarity index 97% rename from kubernetes_asyncio/client/api/discovery_api.py rename to kubernetes/aio/client/api/discovery_api.py index 8c140550c3..e5978f8277 100644 --- a/kubernetes_asyncio/client/api/discovery_api.py +++ b/kubernetes/aio/client/api/discovery_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/discovery_v1_api.py b/kubernetes/aio/client/api/discovery_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/discovery_v1_api.py rename to kubernetes/aio/client/api/discovery_v1_api.py index 07ea6d989f..f903f3c856 100644 --- a/kubernetes_asyncio/client/api/discovery_v1_api.py +++ b/kubernetes/aio/client/api/discovery_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/events_api.py b/kubernetes/aio/client/api/events_api.py similarity index 97% rename from kubernetes_asyncio/client/api/events_api.py rename to kubernetes/aio/client/api/events_api.py index 792dcb101b..08ed924cd9 100644 --- a/kubernetes_asyncio/client/api/events_api.py +++ b/kubernetes/aio/client/api/events_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/events_v1_api.py b/kubernetes/aio/client/api/events_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/events_v1_api.py rename to kubernetes/aio/client/api/events_v1_api.py index 343bbac0a4..c3d5faf613 100644 --- a/kubernetes_asyncio/client/api/events_v1_api.py +++ b/kubernetes/aio/client/api/events_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/flowcontrol_apiserver_api.py b/kubernetes/aio/client/api/flowcontrol_apiserver_api.py similarity index 98% rename from kubernetes_asyncio/client/api/flowcontrol_apiserver_api.py rename to kubernetes/aio/client/api/flowcontrol_apiserver_api.py index 8bee1d525e..37aadc6e8c 100644 --- a/kubernetes_asyncio/client/api/flowcontrol_apiserver_api.py +++ b/kubernetes/aio/client/api/flowcontrol_apiserver_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/flowcontrol_apiserver_v1_api.py b/kubernetes/aio/client/api/flowcontrol_apiserver_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/flowcontrol_apiserver_v1_api.py rename to kubernetes/aio/client/api/flowcontrol_apiserver_v1_api.py index db3feda1e5..bc2ea5c3b6 100644 --- a/kubernetes_asyncio/client/api/flowcontrol_apiserver_v1_api.py +++ b/kubernetes/aio/client/api/flowcontrol_apiserver_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/internal_apiserver_api.py b/kubernetes/aio/client/api/internal_apiserver_api.py similarity index 98% rename from kubernetes_asyncio/client/api/internal_apiserver_api.py rename to kubernetes/aio/client/api/internal_apiserver_api.py index 403fff9743..c4eb495dad 100644 --- a/kubernetes_asyncio/client/api/internal_apiserver_api.py +++ b/kubernetes/aio/client/api/internal_apiserver_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/internal_apiserver_v1alpha1_api.py b/kubernetes/aio/client/api/internal_apiserver_v1alpha1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/internal_apiserver_v1alpha1_api.py rename to kubernetes/aio/client/api/internal_apiserver_v1alpha1_api.py index 08c565f68d..1bb9c3a7bd 100644 --- a/kubernetes_asyncio/client/api/internal_apiserver_v1alpha1_api.py +++ b/kubernetes/aio/client/api/internal_apiserver_v1alpha1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/logs_api.py b/kubernetes/aio/client/api/logs_api.py similarity index 98% rename from kubernetes_asyncio/client/api/logs_api.py rename to kubernetes/aio/client/api/logs_api.py index 669a964c5d..1b2d781e68 100644 --- a/kubernetes_asyncio/client/api/logs_api.py +++ b/kubernetes/aio/client/api/logs_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/networking_api.py b/kubernetes/aio/client/api/networking_api.py similarity index 97% rename from kubernetes_asyncio/client/api/networking_api.py rename to kubernetes/aio/client/api/networking_api.py index 75b2576b13..3701581b4e 100644 --- a/kubernetes_asyncio/client/api/networking_api.py +++ b/kubernetes/aio/client/api/networking_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/networking_v1_api.py b/kubernetes/aio/client/api/networking_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/networking_v1_api.py rename to kubernetes/aio/client/api/networking_v1_api.py index b49c040d04..a26900d4e5 100644 --- a/kubernetes_asyncio/client/api/networking_v1_api.py +++ b/kubernetes/aio/client/api/networking_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/networking_v1beta1_api.py b/kubernetes/aio/client/api/networking_v1beta1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/networking_v1beta1_api.py rename to kubernetes/aio/client/api/networking_v1beta1_api.py index 6f2a76800f..d396a278ed 100644 --- a/kubernetes_asyncio/client/api/networking_v1beta1_api.py +++ b/kubernetes/aio/client/api/networking_v1beta1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/node_api.py b/kubernetes/aio/client/api/node_api.py similarity index 97% rename from kubernetes_asyncio/client/api/node_api.py rename to kubernetes/aio/client/api/node_api.py index 0dcc82afa4..0b3efe647c 100644 --- a/kubernetes_asyncio/client/api/node_api.py +++ b/kubernetes/aio/client/api/node_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/node_v1_api.py b/kubernetes/aio/client/api/node_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/node_v1_api.py rename to kubernetes/aio/client/api/node_v1_api.py index c548534245..62863a6ffc 100644 --- a/kubernetes_asyncio/client/api/node_v1_api.py +++ b/kubernetes/aio/client/api/node_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/openid_api.py b/kubernetes/aio/client/api/openid_api.py similarity index 98% rename from kubernetes_asyncio/client/api/openid_api.py rename to kubernetes/aio/client/api/openid_api.py index 6ec51050cd..2e753e1f3b 100644 --- a/kubernetes_asyncio/client/api/openid_api.py +++ b/kubernetes/aio/client/api/openid_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/policy_api.py b/kubernetes/aio/client/api/policy_api.py similarity index 97% rename from kubernetes_asyncio/client/api/policy_api.py rename to kubernetes/aio/client/api/policy_api.py index 1b47a8ebfe..5af3c6da56 100644 --- a/kubernetes_asyncio/client/api/policy_api.py +++ b/kubernetes/aio/client/api/policy_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/policy_v1_api.py b/kubernetes/aio/client/api/policy_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/policy_v1_api.py rename to kubernetes/aio/client/api/policy_v1_api.py index ee8d6ca539..218f1ba28a 100644 --- a/kubernetes_asyncio/client/api/policy_v1_api.py +++ b/kubernetes/aio/client/api/policy_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/rbac_authorization_api.py b/kubernetes/aio/client/api/rbac_authorization_api.py similarity index 98% rename from kubernetes_asyncio/client/api/rbac_authorization_api.py rename to kubernetes/aio/client/api/rbac_authorization_api.py index e5746b4c2f..f88ffcf3de 100644 --- a/kubernetes_asyncio/client/api/rbac_authorization_api.py +++ b/kubernetes/aio/client/api/rbac_authorization_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/rbac_authorization_v1_api.py b/kubernetes/aio/client/api/rbac_authorization_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/rbac_authorization_v1_api.py rename to kubernetes/aio/client/api/rbac_authorization_v1_api.py index 50b26a791b..78d117dd29 100644 --- a/kubernetes_asyncio/client/api/rbac_authorization_v1_api.py +++ b/kubernetes/aio/client/api/rbac_authorization_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/resource_api.py b/kubernetes/aio/client/api/resource_api.py similarity index 97% rename from kubernetes_asyncio/client/api/resource_api.py rename to kubernetes/aio/client/api/resource_api.py index 5ae701bac4..3ea6d936f2 100644 --- a/kubernetes_asyncio/client/api/resource_api.py +++ b/kubernetes/aio/client/api/resource_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/resource_v1_api.py b/kubernetes/aio/client/api/resource_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/resource_v1_api.py rename to kubernetes/aio/client/api/resource_v1_api.py index 16a77521e0..dbc556cc6d 100644 --- a/kubernetes_asyncio/client/api/resource_v1_api.py +++ b/kubernetes/aio/client/api/resource_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/resource_v1alpha3_api.py b/kubernetes/aio/client/api/resource_v1alpha3_api.py similarity index 99% rename from kubernetes_asyncio/client/api/resource_v1alpha3_api.py rename to kubernetes/aio/client/api/resource_v1alpha3_api.py index 4c28d3ae61..6dea3a3ece 100644 --- a/kubernetes_asyncio/client/api/resource_v1alpha3_api.py +++ b/kubernetes/aio/client/api/resource_v1alpha3_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/resource_v1beta1_api.py b/kubernetes/aio/client/api/resource_v1beta1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/resource_v1beta1_api.py rename to kubernetes/aio/client/api/resource_v1beta1_api.py index 20572fe040..29f3cd2f89 100644 --- a/kubernetes_asyncio/client/api/resource_v1beta1_api.py +++ b/kubernetes/aio/client/api/resource_v1beta1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/resource_v1beta2_api.py b/kubernetes/aio/client/api/resource_v1beta2_api.py similarity index 99% rename from kubernetes_asyncio/client/api/resource_v1beta2_api.py rename to kubernetes/aio/client/api/resource_v1beta2_api.py index 57e1b400ed..4f7c6f0956 100644 --- a/kubernetes_asyncio/client/api/resource_v1beta2_api.py +++ b/kubernetes/aio/client/api/resource_v1beta2_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/scheduling_api.py b/kubernetes/aio/client/api/scheduling_api.py similarity index 97% rename from kubernetes_asyncio/client/api/scheduling_api.py rename to kubernetes/aio/client/api/scheduling_api.py index 2973caf6e7..7f3ae7a4c6 100644 --- a/kubernetes_asyncio/client/api/scheduling_api.py +++ b/kubernetes/aio/client/api/scheduling_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/scheduling_v1_api.py b/kubernetes/aio/client/api/scheduling_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/scheduling_v1_api.py rename to kubernetes/aio/client/api/scheduling_v1_api.py index 779bd88dc3..f0dbf6a6a1 100644 --- a/kubernetes_asyncio/client/api/scheduling_v1_api.py +++ b/kubernetes/aio/client/api/scheduling_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/scheduling_v1alpha2_api.py b/kubernetes/aio/client/api/scheduling_v1alpha2_api.py similarity index 99% rename from kubernetes_asyncio/client/api/scheduling_v1alpha2_api.py rename to kubernetes/aio/client/api/scheduling_v1alpha2_api.py index 3a6147ea81..7f6a86dc3c 100644 --- a/kubernetes_asyncio/client/api/scheduling_v1alpha2_api.py +++ b/kubernetes/aio/client/api/scheduling_v1alpha2_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/storage_api.py b/kubernetes/aio/client/api/storage_api.py similarity index 97% rename from kubernetes_asyncio/client/api/storage_api.py rename to kubernetes/aio/client/api/storage_api.py index 15de52e000..a57eb535e4 100644 --- a/kubernetes_asyncio/client/api/storage_api.py +++ b/kubernetes/aio/client/api/storage_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/storage_v1_api.py b/kubernetes/aio/client/api/storage_v1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/storage_v1_api.py rename to kubernetes/aio/client/api/storage_v1_api.py index c8e26f7156..c83217036f 100644 --- a/kubernetes_asyncio/client/api/storage_v1_api.py +++ b/kubernetes/aio/client/api/storage_v1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/storage_v1beta1_api.py b/kubernetes/aio/client/api/storage_v1beta1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/storage_v1beta1_api.py rename to kubernetes/aio/client/api/storage_v1beta1_api.py index 4132e48d55..9507feaa93 100644 --- a/kubernetes_asyncio/client/api/storage_v1beta1_api.py +++ b/kubernetes/aio/client/api/storage_v1beta1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/storagemigration_api.py b/kubernetes/aio/client/api/storagemigration_api.py similarity index 98% rename from kubernetes_asyncio/client/api/storagemigration_api.py rename to kubernetes/aio/client/api/storagemigration_api.py index be5f1910c5..523e1165ee 100644 --- a/kubernetes_asyncio/client/api/storagemigration_api.py +++ b/kubernetes/aio/client/api/storagemigration_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/storagemigration_v1beta1_api.py b/kubernetes/aio/client/api/storagemigration_v1beta1_api.py similarity index 99% rename from kubernetes_asyncio/client/api/storagemigration_v1beta1_api.py rename to kubernetes/aio/client/api/storagemigration_v1beta1_api.py index f0267aa027..06ca3fa7be 100644 --- a/kubernetes_asyncio/client/api/storagemigration_v1beta1_api.py +++ b/kubernetes/aio/client/api/storagemigration_v1beta1_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/version_api.py b/kubernetes/aio/client/api/version_api.py similarity index 97% rename from kubernetes_asyncio/client/api/version_api.py rename to kubernetes/aio/client/api/version_api.py index 1d4aac4238..a9f00a231f 100644 --- a/kubernetes_asyncio/client/api/version_api.py +++ b/kubernetes/aio/client/api/version_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api/well_known_api.py b/kubernetes/aio/client/api/well_known_api.py similarity index 98% rename from kubernetes_asyncio/client/api/well_known_api.py rename to kubernetes/aio/client/api/well_known_api.py index 7b824b7b99..46e961c315 100644 --- a/kubernetes_asyncio/client/api/well_known_api.py +++ b/kubernetes/aio/client/api/well_known_api.py @@ -17,8 +17,8 @@ # python 2 and python 3 compatibility library import six -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 +from kubernetes.aio.client.api_client import ApiClient +from kubernetes.aio.client.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/kubernetes_asyncio/client/api_client.py b/kubernetes/aio/client/api_client.py similarity index 98% rename from kubernetes_asyncio/client/api_client.py rename to kubernetes/aio/client/api_client.py index 43659b774e..fed8b124b5 100644 --- a/kubernetes_asyncio/client/api_client.py +++ b/kubernetes/aio/client/api_client.py @@ -24,10 +24,10 @@ import six from six.moves.urllib.parse import quote -from kubernetes_asyncio.client.configuration import Configuration -import kubernetes_asyncio.client.models -from kubernetes_asyncio.client import rest -from kubernetes_asyncio.client.exceptions import ApiValueError, ApiException +from kubernetes.aio.client.configuration import Configuration +import kubernetes.aio.client.models +from kubernetes.aio.client import rest +from kubernetes.aio.client.exceptions import ApiValueError, ApiException class ApiClient(object): @@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/36.0.0/python' + self.user_agent = 'OpenAPI-Generator/36.0.1/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): @@ -313,7 +313,7 @@ def __deserialize(self, data, klass): if klass in self.NATIVE_TYPES_MAPPING: klass = self.NATIVE_TYPES_MAPPING[klass] else: - klass = getattr(kubernetes_asyncio.client.models, klass) + klass = getattr(kubernetes.aio.client.models, klass) if klass in self.PRIMITIVE_TYPES: return self.__deserialize_primitive(data, klass) diff --git a/kubernetes_asyncio/client/api_client.py.orig b/kubernetes/aio/client/api_client.py.orig similarity index 98% rename from kubernetes_asyncio/client/api_client.py.orig rename to kubernetes/aio/client/api_client.py.orig index e6f108f928..ccd36a876e 100644 --- a/kubernetes_asyncio/client/api_client.py.orig +++ b/kubernetes/aio/client/api_client.py.orig @@ -24,10 +24,10 @@ import tempfile import six from six.moves.urllib.parse import quote -from kubernetes_asyncio.client.configuration import Configuration -import kubernetes_asyncio.client.models -from kubernetes_asyncio.client import rest -from kubernetes_asyncio.client.exceptions import ApiValueError, ApiException +from kubernetes.aio.client.configuration import Configuration +import kubernetes.aio.client.models +from kubernetes.aio.client import rest +from kubernetes.aio.client.exceptions import ApiValueError, ApiException class ApiClient(object): @@ -78,7 +78,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/36.0.0/python' + self.user_agent = 'OpenAPI-Generator/36.0.1/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): @@ -313,7 +313,7 @@ class ApiClient(object): if klass in self.NATIVE_TYPES_MAPPING: klass = self.NATIVE_TYPES_MAPPING[klass] else: - klass = getattr(kubernetes_asyncio.client.models, klass) + klass = getattr(kubernetes.aio.client.models, klass) if klass in self.PRIMITIVE_TYPES: return self.__deserialize_primitive(data, klass) diff --git a/kubernetes_asyncio/client/configuration.py b/kubernetes/aio/client/configuration.py similarity index 99% rename from kubernetes_asyncio/client/configuration.py rename to kubernetes/aio/client/configuration.py index c9f766a885..71c0d74d24 100644 --- a/kubernetes_asyncio/client/configuration.py +++ b/kubernetes/aio/client/configuration.py @@ -20,7 +20,7 @@ import six from six.moves import http_client as httplib -from kubernetes_asyncio.client.exceptions import ApiValueError +from kubernetes.aio.client.exceptions import ApiValueError JSON_SCHEMA_VALIDATION_KEYWORDS = { @@ -435,7 +435,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.36\n"\ - "SDK Package Version: 36.0.0".\ + "SDK Package Version: 36.0.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes_asyncio/client/configuration.py.orig b/kubernetes/aio/client/configuration.py.orig similarity index 99% rename from kubernetes_asyncio/client/configuration.py.orig rename to kubernetes/aio/client/configuration.py.orig index f59d519647..73f90f2bd5 100644 --- a/kubernetes_asyncio/client/configuration.py.orig +++ b/kubernetes/aio/client/configuration.py.orig @@ -19,7 +19,7 @@ import urllib3 import six from six.moves import http_client as httplib -from kubernetes_asyncio.client.exceptions import ApiValueError +from kubernetes.aio.client.exceptions import ApiValueError JSON_SCHEMA_VALIDATION_KEYWORDS = { @@ -432,7 +432,7 @@ conf = client.Configuration( "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.36\n"\ - "SDK Package Version: 36.0.0".\ + "SDK Package Version: 36.0.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes_asyncio/client/exceptions.py b/kubernetes/aio/client/exceptions.py similarity index 100% rename from kubernetes_asyncio/client/exceptions.py rename to kubernetes/aio/client/exceptions.py diff --git a/kubernetes/aio/client/models/__init__.py b/kubernetes/aio/client/models/__init__.py new file mode 100644 index 0000000000..95aeac912c --- /dev/null +++ b/kubernetes/aio/client/models/__init__.py @@ -0,0 +1,783 @@ +# coding: utf-8 + +# flake8: noqa +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.36 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +# import models into model package +from kubernetes.aio.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference +from kubernetes.aio.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig +from kubernetes.aio.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference +from kubernetes.aio.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig +from kubernetes.aio.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference +from kubernetes.aio.client.models.authentication_v1_token_request import AuthenticationV1TokenRequest +from kubernetes.aio.client.models.core_v1_endpoint_port import CoreV1EndpointPort +from kubernetes.aio.client.models.core_v1_event import CoreV1Event +from kubernetes.aio.client.models.core_v1_event_list import CoreV1EventList +from kubernetes.aio.client.models.core_v1_event_series import CoreV1EventSeries +from kubernetes.aio.client.models.core_v1_resource_claim import CoreV1ResourceClaim +from kubernetes.aio.client.models.discovery_v1_endpoint_port import DiscoveryV1EndpointPort +from kubernetes.aio.client.models.events_v1_event import EventsV1Event +from kubernetes.aio.client.models.events_v1_event_list import EventsV1EventList +from kubernetes.aio.client.models.events_v1_event_series import EventsV1EventSeries +from kubernetes.aio.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject +from kubernetes.aio.client.models.rbac_v1_subject import RbacV1Subject +from kubernetes.aio.client.models.resource_v1_resource_claim import ResourceV1ResourceClaim +from kubernetes.aio.client.models.storage_v1_token_request import StorageV1TokenRequest +from kubernetes.aio.client.models.v1_api_group import V1APIGroup +from kubernetes.aio.client.models.v1_api_group_list import V1APIGroupList +from kubernetes.aio.client.models.v1_api_resource import V1APIResource +from kubernetes.aio.client.models.v1_api_resource_list import V1APIResourceList +from kubernetes.aio.client.models.v1_api_service import V1APIService +from kubernetes.aio.client.models.v1_api_service_condition import V1APIServiceCondition +from kubernetes.aio.client.models.v1_api_service_list import V1APIServiceList +from kubernetes.aio.client.models.v1_api_service_spec import V1APIServiceSpec +from kubernetes.aio.client.models.v1_api_service_status import V1APIServiceStatus +from kubernetes.aio.client.models.v1_api_versions import V1APIVersions +from kubernetes.aio.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource +from kubernetes.aio.client.models.v1_affinity import V1Affinity +from kubernetes.aio.client.models.v1_aggregation_rule import V1AggregationRule +from kubernetes.aio.client.models.v1_allocated_device_status import V1AllocatedDeviceStatus +from kubernetes.aio.client.models.v1_allocation_result import V1AllocationResult +from kubernetes.aio.client.models.v1_app_armor_profile import V1AppArmorProfile +from kubernetes.aio.client.models.v1_apply_configuration import V1ApplyConfiguration +from kubernetes.aio.client.models.v1_attached_volume import V1AttachedVolume +from kubernetes.aio.client.models.v1_audit_annotation import V1AuditAnnotation +from kubernetes.aio.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource +from kubernetes.aio.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource +from kubernetes.aio.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource +from kubernetes.aio.client.models.v1_binding import V1Binding +from kubernetes.aio.client.models.v1_bound_object_reference import V1BoundObjectReference +from kubernetes.aio.client.models.v1_cel_device_selector import V1CELDeviceSelector +from kubernetes.aio.client.models.v1_csi_driver import V1CSIDriver +from kubernetes.aio.client.models.v1_csi_driver_list import V1CSIDriverList +from kubernetes.aio.client.models.v1_csi_driver_spec import V1CSIDriverSpec +from kubernetes.aio.client.models.v1_csi_node import V1CSINode +from kubernetes.aio.client.models.v1_csi_node_driver import V1CSINodeDriver +from kubernetes.aio.client.models.v1_csi_node_list import V1CSINodeList +from kubernetes.aio.client.models.v1_csi_node_spec import V1CSINodeSpec +from kubernetes.aio.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource +from kubernetes.aio.client.models.v1_csi_storage_capacity import V1CSIStorageCapacity +from kubernetes.aio.client.models.v1_csi_storage_capacity_list import V1CSIStorageCapacityList +from kubernetes.aio.client.models.v1_csi_volume_source import V1CSIVolumeSource +from kubernetes.aio.client.models.v1_capabilities import V1Capabilities +from kubernetes.aio.client.models.v1_capacity_request_policy import V1CapacityRequestPolicy +from kubernetes.aio.client.models.v1_capacity_request_policy_range import V1CapacityRequestPolicyRange +from kubernetes.aio.client.models.v1_capacity_requirements import V1CapacityRequirements +from kubernetes.aio.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource +from kubernetes.aio.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource +from kubernetes.aio.client.models.v1_certificate_signing_request import V1CertificateSigningRequest +from kubernetes.aio.client.models.v1_certificate_signing_request_condition import V1CertificateSigningRequestCondition +from kubernetes.aio.client.models.v1_certificate_signing_request_list import V1CertificateSigningRequestList +from kubernetes.aio.client.models.v1_certificate_signing_request_spec import V1CertificateSigningRequestSpec +from kubernetes.aio.client.models.v1_certificate_signing_request_status import V1CertificateSigningRequestStatus +from kubernetes.aio.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource +from kubernetes.aio.client.models.v1_cinder_volume_source import V1CinderVolumeSource +from kubernetes.aio.client.models.v1_client_ip_config import V1ClientIPConfig +from kubernetes.aio.client.models.v1_cluster_role import V1ClusterRole +from kubernetes.aio.client.models.v1_cluster_role_binding import V1ClusterRoleBinding +from kubernetes.aio.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList +from kubernetes.aio.client.models.v1_cluster_role_list import V1ClusterRoleList +from kubernetes.aio.client.models.v1_cluster_trust_bundle_projection import V1ClusterTrustBundleProjection +from kubernetes.aio.client.models.v1_component_condition import V1ComponentCondition +from kubernetes.aio.client.models.v1_component_status import V1ComponentStatus +from kubernetes.aio.client.models.v1_component_status_list import V1ComponentStatusList +from kubernetes.aio.client.models.v1_condition import V1Condition +from kubernetes.aio.client.models.v1_config_map import V1ConfigMap +from kubernetes.aio.client.models.v1_config_map_env_source import V1ConfigMapEnvSource +from kubernetes.aio.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector +from kubernetes.aio.client.models.v1_config_map_list import V1ConfigMapList +from kubernetes.aio.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource +from kubernetes.aio.client.models.v1_config_map_projection import V1ConfigMapProjection +from kubernetes.aio.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource +from kubernetes.aio.client.models.v1_container import V1Container +from kubernetes.aio.client.models.v1_container_extended_resource_request import V1ContainerExtendedResourceRequest +from kubernetes.aio.client.models.v1_container_image import V1ContainerImage +from kubernetes.aio.client.models.v1_container_port import V1ContainerPort +from kubernetes.aio.client.models.v1_container_resize_policy import V1ContainerResizePolicy +from kubernetes.aio.client.models.v1_container_restart_rule import V1ContainerRestartRule +from kubernetes.aio.client.models.v1_container_restart_rule_on_exit_codes import V1ContainerRestartRuleOnExitCodes +from kubernetes.aio.client.models.v1_container_state import V1ContainerState +from kubernetes.aio.client.models.v1_container_state_running import V1ContainerStateRunning +from kubernetes.aio.client.models.v1_container_state_terminated import V1ContainerStateTerminated +from kubernetes.aio.client.models.v1_container_state_waiting import V1ContainerStateWaiting +from kubernetes.aio.client.models.v1_container_status import V1ContainerStatus +from kubernetes.aio.client.models.v1_container_user import V1ContainerUser +from kubernetes.aio.client.models.v1_controller_revision import V1ControllerRevision +from kubernetes.aio.client.models.v1_controller_revision_list import V1ControllerRevisionList +from kubernetes.aio.client.models.v1_counter import V1Counter +from kubernetes.aio.client.models.v1_counter_set import V1CounterSet +from kubernetes.aio.client.models.v1_cron_job import V1CronJob +from kubernetes.aio.client.models.v1_cron_job_list import V1CronJobList +from kubernetes.aio.client.models.v1_cron_job_spec import V1CronJobSpec +from kubernetes.aio.client.models.v1_cron_job_status import V1CronJobStatus +from kubernetes.aio.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference +from kubernetes.aio.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition +from kubernetes.aio.client.models.v1_custom_resource_conversion import V1CustomResourceConversion +from kubernetes.aio.client.models.v1_custom_resource_definition import V1CustomResourceDefinition +from kubernetes.aio.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition +from kubernetes.aio.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList +from kubernetes.aio.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames +from kubernetes.aio.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec +from kubernetes.aio.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus +from kubernetes.aio.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion +from kubernetes.aio.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale +from kubernetes.aio.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources +from kubernetes.aio.client.models.v1_custom_resource_validation import V1CustomResourceValidation +from kubernetes.aio.client.models.v1_daemon_endpoint import V1DaemonEndpoint +from kubernetes.aio.client.models.v1_daemon_set import V1DaemonSet +from kubernetes.aio.client.models.v1_daemon_set_condition import V1DaemonSetCondition +from kubernetes.aio.client.models.v1_daemon_set_list import V1DaemonSetList +from kubernetes.aio.client.models.v1_daemon_set_spec import V1DaemonSetSpec +from kubernetes.aio.client.models.v1_daemon_set_status import V1DaemonSetStatus +from kubernetes.aio.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy +from kubernetes.aio.client.models.v1_delete_options import V1DeleteOptions +from kubernetes.aio.client.models.v1_deployment import V1Deployment +from kubernetes.aio.client.models.v1_deployment_condition import V1DeploymentCondition +from kubernetes.aio.client.models.v1_deployment_list import V1DeploymentList +from kubernetes.aio.client.models.v1_deployment_spec import V1DeploymentSpec +from kubernetes.aio.client.models.v1_deployment_status import V1DeploymentStatus +from kubernetes.aio.client.models.v1_deployment_strategy import V1DeploymentStrategy +from kubernetes.aio.client.models.v1_device import V1Device +from kubernetes.aio.client.models.v1_device_allocation_configuration import V1DeviceAllocationConfiguration +from kubernetes.aio.client.models.v1_device_allocation_result import V1DeviceAllocationResult +from kubernetes.aio.client.models.v1_device_attribute import V1DeviceAttribute +from kubernetes.aio.client.models.v1_device_capacity import V1DeviceCapacity +from kubernetes.aio.client.models.v1_device_claim import V1DeviceClaim +from kubernetes.aio.client.models.v1_device_claim_configuration import V1DeviceClaimConfiguration +from kubernetes.aio.client.models.v1_device_class import V1DeviceClass +from kubernetes.aio.client.models.v1_device_class_configuration import V1DeviceClassConfiguration +from kubernetes.aio.client.models.v1_device_class_list import V1DeviceClassList +from kubernetes.aio.client.models.v1_device_class_spec import V1DeviceClassSpec +from kubernetes.aio.client.models.v1_device_constraint import V1DeviceConstraint +from kubernetes.aio.client.models.v1_device_counter_consumption import V1DeviceCounterConsumption +from kubernetes.aio.client.models.v1_device_request import V1DeviceRequest +from kubernetes.aio.client.models.v1_device_request_allocation_result import V1DeviceRequestAllocationResult +from kubernetes.aio.client.models.v1_device_selector import V1DeviceSelector +from kubernetes.aio.client.models.v1_device_sub_request import V1DeviceSubRequest +from kubernetes.aio.client.models.v1_device_taint import V1DeviceTaint +from kubernetes.aio.client.models.v1_device_toleration import V1DeviceToleration +from kubernetes.aio.client.models.v1_downward_api_projection import V1DownwardAPIProjection +from kubernetes.aio.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile +from kubernetes.aio.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource +from kubernetes.aio.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource +from kubernetes.aio.client.models.v1_endpoint import V1Endpoint +from kubernetes.aio.client.models.v1_endpoint_address import V1EndpointAddress +from kubernetes.aio.client.models.v1_endpoint_conditions import V1EndpointConditions +from kubernetes.aio.client.models.v1_endpoint_hints import V1EndpointHints +from kubernetes.aio.client.models.v1_endpoint_slice import V1EndpointSlice +from kubernetes.aio.client.models.v1_endpoint_slice_list import V1EndpointSliceList +from kubernetes.aio.client.models.v1_endpoint_subset import V1EndpointSubset +from kubernetes.aio.client.models.v1_endpoints import V1Endpoints +from kubernetes.aio.client.models.v1_endpoints_list import V1EndpointsList +from kubernetes.aio.client.models.v1_env_from_source import V1EnvFromSource +from kubernetes.aio.client.models.v1_env_var import V1EnvVar +from kubernetes.aio.client.models.v1_env_var_source import V1EnvVarSource +from kubernetes.aio.client.models.v1_ephemeral_container import V1EphemeralContainer +from kubernetes.aio.client.models.v1_ephemeral_volume_source import V1EphemeralVolumeSource +from kubernetes.aio.client.models.v1_event_source import V1EventSource +from kubernetes.aio.client.models.v1_eviction import V1Eviction +from kubernetes.aio.client.models.v1_exact_device_request import V1ExactDeviceRequest +from kubernetes.aio.client.models.v1_exec_action import V1ExecAction +from kubernetes.aio.client.models.v1_exempt_priority_level_configuration import V1ExemptPriorityLevelConfiguration +from kubernetes.aio.client.models.v1_expression_warning import V1ExpressionWarning +from kubernetes.aio.client.models.v1_external_documentation import V1ExternalDocumentation +from kubernetes.aio.client.models.v1_fc_volume_source import V1FCVolumeSource +from kubernetes.aio.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes +from kubernetes.aio.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement +from kubernetes.aio.client.models.v1_file_key_selector import V1FileKeySelector +from kubernetes.aio.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource +from kubernetes.aio.client.models.v1_flex_volume_source import V1FlexVolumeSource +from kubernetes.aio.client.models.v1_flocker_volume_source import V1FlockerVolumeSource +from kubernetes.aio.client.models.v1_flow_distinguisher_method import V1FlowDistinguisherMethod +from kubernetes.aio.client.models.v1_flow_schema import V1FlowSchema +from kubernetes.aio.client.models.v1_flow_schema_condition import V1FlowSchemaCondition +from kubernetes.aio.client.models.v1_flow_schema_list import V1FlowSchemaList +from kubernetes.aio.client.models.v1_flow_schema_spec import V1FlowSchemaSpec +from kubernetes.aio.client.models.v1_flow_schema_status import V1FlowSchemaStatus +from kubernetes.aio.client.models.v1_for_node import V1ForNode +from kubernetes.aio.client.models.v1_for_zone import V1ForZone +from kubernetes.aio.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource +from kubernetes.aio.client.models.v1_grpc_action import V1GRPCAction +from kubernetes.aio.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource +from kubernetes.aio.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource +from kubernetes.aio.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource +from kubernetes.aio.client.models.v1_group_resource import V1GroupResource +from kubernetes.aio.client.models.v1_group_subject import V1GroupSubject +from kubernetes.aio.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery +from kubernetes.aio.client.models.v1_http_get_action import V1HTTPGetAction +from kubernetes.aio.client.models.v1_http_header import V1HTTPHeader +from kubernetes.aio.client.models.v1_http_ingress_path import V1HTTPIngressPath +from kubernetes.aio.client.models.v1_http_ingress_rule_value import V1HTTPIngressRuleValue +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec +from kubernetes.aio.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus +from kubernetes.aio.client.models.v1_host_alias import V1HostAlias +from kubernetes.aio.client.models.v1_host_ip import V1HostIP +from kubernetes.aio.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from kubernetes.aio.client.models.v1_ip_address import V1IPAddress +from kubernetes.aio.client.models.v1_ip_address_list import V1IPAddressList +from kubernetes.aio.client.models.v1_ip_address_spec import V1IPAddressSpec +from kubernetes.aio.client.models.v1_ip_block import V1IPBlock +from kubernetes.aio.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource +from kubernetes.aio.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource +from kubernetes.aio.client.models.v1_image_volume_source import V1ImageVolumeSource +from kubernetes.aio.client.models.v1_image_volume_status import V1ImageVolumeStatus +from kubernetes.aio.client.models.v1_ingress import V1Ingress +from kubernetes.aio.client.models.v1_ingress_backend import V1IngressBackend +from kubernetes.aio.client.models.v1_ingress_class import V1IngressClass +from kubernetes.aio.client.models.v1_ingress_class_list import V1IngressClassList +from kubernetes.aio.client.models.v1_ingress_class_parameters_reference import V1IngressClassParametersReference +from kubernetes.aio.client.models.v1_ingress_class_spec import V1IngressClassSpec +from kubernetes.aio.client.models.v1_ingress_list import V1IngressList +from kubernetes.aio.client.models.v1_ingress_load_balancer_ingress import V1IngressLoadBalancerIngress +from kubernetes.aio.client.models.v1_ingress_load_balancer_status import V1IngressLoadBalancerStatus +from kubernetes.aio.client.models.v1_ingress_port_status import V1IngressPortStatus +from kubernetes.aio.client.models.v1_ingress_rule import V1IngressRule +from kubernetes.aio.client.models.v1_ingress_service_backend import V1IngressServiceBackend +from kubernetes.aio.client.models.v1_ingress_spec import V1IngressSpec +from kubernetes.aio.client.models.v1_ingress_status import V1IngressStatus +from kubernetes.aio.client.models.v1_ingress_tls import V1IngressTLS +from kubernetes.aio.client.models.v1_json_patch import V1JSONPatch +from kubernetes.aio.client.models.v1_json_schema_props import V1JSONSchemaProps +from kubernetes.aio.client.models.v1_job import V1Job +from kubernetes.aio.client.models.v1_job_condition import V1JobCondition +from kubernetes.aio.client.models.v1_job_list import V1JobList +from kubernetes.aio.client.models.v1_job_spec import V1JobSpec +from kubernetes.aio.client.models.v1_job_status import V1JobStatus +from kubernetes.aio.client.models.v1_job_template_spec import V1JobTemplateSpec +from kubernetes.aio.client.models.v1_key_to_path import V1KeyToPath +from kubernetes.aio.client.models.v1_label_selector import V1LabelSelector +from kubernetes.aio.client.models.v1_label_selector_attributes import V1LabelSelectorAttributes +from kubernetes.aio.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement +from kubernetes.aio.client.models.v1_lease import V1Lease +from kubernetes.aio.client.models.v1_lease_list import V1LeaseList +from kubernetes.aio.client.models.v1_lease_spec import V1LeaseSpec +from kubernetes.aio.client.models.v1_lifecycle import V1Lifecycle +from kubernetes.aio.client.models.v1_lifecycle_handler import V1LifecycleHandler +from kubernetes.aio.client.models.v1_limit_range import V1LimitRange +from kubernetes.aio.client.models.v1_limit_range_item import V1LimitRangeItem +from kubernetes.aio.client.models.v1_limit_range_list import V1LimitRangeList +from kubernetes.aio.client.models.v1_limit_range_spec import V1LimitRangeSpec +from kubernetes.aio.client.models.v1_limit_response import V1LimitResponse +from kubernetes.aio.client.models.v1_limited_priority_level_configuration import V1LimitedPriorityLevelConfiguration +from kubernetes.aio.client.models.v1_linux_container_user import V1LinuxContainerUser +from kubernetes.aio.client.models.v1_list_meta import V1ListMeta +from kubernetes.aio.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress +from kubernetes.aio.client.models.v1_load_balancer_status import V1LoadBalancerStatus +from kubernetes.aio.client.models.v1_local_object_reference import V1LocalObjectReference +from kubernetes.aio.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview +from kubernetes.aio.client.models.v1_local_volume_source import V1LocalVolumeSource +from kubernetes.aio.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry +from kubernetes.aio.client.models.v1_match_condition import V1MatchCondition +from kubernetes.aio.client.models.v1_match_resources import V1MatchResources +from kubernetes.aio.client.models.v1_modify_volume_status import V1ModifyVolumeStatus +from kubernetes.aio.client.models.v1_mutating_admission_policy import V1MutatingAdmissionPolicy +from kubernetes.aio.client.models.v1_mutating_admission_policy_binding import V1MutatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1_mutating_admission_policy_binding_list import V1MutatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1_mutating_admission_policy_binding_spec import V1MutatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1_mutating_admission_policy_list import V1MutatingAdmissionPolicyList +from kubernetes.aio.client.models.v1_mutating_admission_policy_spec import V1MutatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1_mutating_webhook import V1MutatingWebhook +from kubernetes.aio.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration +from kubernetes.aio.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList +from kubernetes.aio.client.models.v1_mutation import V1Mutation +from kubernetes.aio.client.models.v1_nfs_volume_source import V1NFSVolumeSource +from kubernetes.aio.client.models.v1_named_rule_with_operations import V1NamedRuleWithOperations +from kubernetes.aio.client.models.v1_namespace import V1Namespace +from kubernetes.aio.client.models.v1_namespace_condition import V1NamespaceCondition +from kubernetes.aio.client.models.v1_namespace_list import V1NamespaceList +from kubernetes.aio.client.models.v1_namespace_spec import V1NamespaceSpec +from kubernetes.aio.client.models.v1_namespace_status import V1NamespaceStatus +from kubernetes.aio.client.models.v1_network_device_data import V1NetworkDeviceData +from kubernetes.aio.client.models.v1_network_policy import V1NetworkPolicy +from kubernetes.aio.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule +from kubernetes.aio.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule +from kubernetes.aio.client.models.v1_network_policy_list import V1NetworkPolicyList +from kubernetes.aio.client.models.v1_network_policy_peer import V1NetworkPolicyPeer +from kubernetes.aio.client.models.v1_network_policy_port import V1NetworkPolicyPort +from kubernetes.aio.client.models.v1_network_policy_spec import V1NetworkPolicySpec +from kubernetes.aio.client.models.v1_node import V1Node +from kubernetes.aio.client.models.v1_node_address import V1NodeAddress +from kubernetes.aio.client.models.v1_node_affinity import V1NodeAffinity +from kubernetes.aio.client.models.v1_node_allocatable_resource_claim_status import V1NodeAllocatableResourceClaimStatus +from kubernetes.aio.client.models.v1_node_allocatable_resource_mapping import V1NodeAllocatableResourceMapping +from kubernetes.aio.client.models.v1_node_condition import V1NodeCondition +from kubernetes.aio.client.models.v1_node_config_source import V1NodeConfigSource +from kubernetes.aio.client.models.v1_node_config_status import V1NodeConfigStatus +from kubernetes.aio.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints +from kubernetes.aio.client.models.v1_node_features import V1NodeFeatures +from kubernetes.aio.client.models.v1_node_list import V1NodeList +from kubernetes.aio.client.models.v1_node_runtime_handler import V1NodeRuntimeHandler +from kubernetes.aio.client.models.v1_node_runtime_handler_features import V1NodeRuntimeHandlerFeatures +from kubernetes.aio.client.models.v1_node_selector import V1NodeSelector +from kubernetes.aio.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement +from kubernetes.aio.client.models.v1_node_selector_term import V1NodeSelectorTerm +from kubernetes.aio.client.models.v1_node_spec import V1NodeSpec +from kubernetes.aio.client.models.v1_node_status import V1NodeStatus +from kubernetes.aio.client.models.v1_node_swap_status import V1NodeSwapStatus +from kubernetes.aio.client.models.v1_node_system_info import V1NodeSystemInfo +from kubernetes.aio.client.models.v1_non_resource_attributes import V1NonResourceAttributes +from kubernetes.aio.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule +from kubernetes.aio.client.models.v1_non_resource_rule import V1NonResourceRule +from kubernetes.aio.client.models.v1_object_field_selector import V1ObjectFieldSelector +from kubernetes.aio.client.models.v1_object_meta import V1ObjectMeta +from kubernetes.aio.client.models.v1_object_reference import V1ObjectReference +from kubernetes.aio.client.models.v1_opaque_device_configuration import V1OpaqueDeviceConfiguration +from kubernetes.aio.client.models.v1_overhead import V1Overhead +from kubernetes.aio.client.models.v1_owner_reference import V1OwnerReference +from kubernetes.aio.client.models.v1_param_kind import V1ParamKind +from kubernetes.aio.client.models.v1_param_ref import V1ParamRef +from kubernetes.aio.client.models.v1_parent_reference import V1ParentReference +from kubernetes.aio.client.models.v1_persistent_volume import V1PersistentVolume +from kubernetes.aio.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim +from kubernetes.aio.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition +from kubernetes.aio.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList +from kubernetes.aio.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec +from kubernetes.aio.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus +from kubernetes.aio.client.models.v1_persistent_volume_claim_template import V1PersistentVolumeClaimTemplate +from kubernetes.aio.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource +from kubernetes.aio.client.models.v1_persistent_volume_list import V1PersistentVolumeList +from kubernetes.aio.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec +from kubernetes.aio.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus +from kubernetes.aio.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource +from kubernetes.aio.client.models.v1_pod import V1Pod +from kubernetes.aio.client.models.v1_pod_affinity import V1PodAffinity +from kubernetes.aio.client.models.v1_pod_affinity_term import V1PodAffinityTerm +from kubernetes.aio.client.models.v1_pod_anti_affinity import V1PodAntiAffinity +from kubernetes.aio.client.models.v1_pod_certificate_projection import V1PodCertificateProjection +from kubernetes.aio.client.models.v1_pod_condition import V1PodCondition +from kubernetes.aio.client.models.v1_pod_dns_config import V1PodDNSConfig +from kubernetes.aio.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption +from kubernetes.aio.client.models.v1_pod_disruption_budget import V1PodDisruptionBudget +from kubernetes.aio.client.models.v1_pod_disruption_budget_list import V1PodDisruptionBudgetList +from kubernetes.aio.client.models.v1_pod_disruption_budget_spec import V1PodDisruptionBudgetSpec +from kubernetes.aio.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus +from kubernetes.aio.client.models.v1_pod_extended_resource_claim_status import V1PodExtendedResourceClaimStatus +from kubernetes.aio.client.models.v1_pod_failure_policy import V1PodFailurePolicy +from kubernetes.aio.client.models.v1_pod_failure_policy_on_exit_codes_requirement import V1PodFailurePolicyOnExitCodesRequirement +from kubernetes.aio.client.models.v1_pod_failure_policy_on_pod_conditions_pattern import V1PodFailurePolicyOnPodConditionsPattern +from kubernetes.aio.client.models.v1_pod_failure_policy_rule import V1PodFailurePolicyRule +from kubernetes.aio.client.models.v1_pod_ip import V1PodIP +from kubernetes.aio.client.models.v1_pod_list import V1PodList +from kubernetes.aio.client.models.v1_pod_os import V1PodOS +from kubernetes.aio.client.models.v1_pod_readiness_gate import V1PodReadinessGate +from kubernetes.aio.client.models.v1_pod_resource_claim import V1PodResourceClaim +from kubernetes.aio.client.models.v1_pod_resource_claim_status import V1PodResourceClaimStatus +from kubernetes.aio.client.models.v1_pod_scheduling_gate import V1PodSchedulingGate +from kubernetes.aio.client.models.v1_pod_scheduling_group import V1PodSchedulingGroup +from kubernetes.aio.client.models.v1_pod_security_context import V1PodSecurityContext +from kubernetes.aio.client.models.v1_pod_spec import V1PodSpec +from kubernetes.aio.client.models.v1_pod_status import V1PodStatus +from kubernetes.aio.client.models.v1_pod_template import V1PodTemplate +from kubernetes.aio.client.models.v1_pod_template_list import V1PodTemplateList +from kubernetes.aio.client.models.v1_pod_template_spec import V1PodTemplateSpec +from kubernetes.aio.client.models.v1_policy_rule import V1PolicyRule +from kubernetes.aio.client.models.v1_policy_rules_with_subjects import V1PolicyRulesWithSubjects +from kubernetes.aio.client.models.v1_port_status import V1PortStatus +from kubernetes.aio.client.models.v1_portworx_volume_source import V1PortworxVolumeSource +from kubernetes.aio.client.models.v1_preconditions import V1Preconditions +from kubernetes.aio.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm +from kubernetes.aio.client.models.v1_priority_class import V1PriorityClass +from kubernetes.aio.client.models.v1_priority_class_list import V1PriorityClassList +from kubernetes.aio.client.models.v1_priority_level_configuration import V1PriorityLevelConfiguration +from kubernetes.aio.client.models.v1_priority_level_configuration_condition import V1PriorityLevelConfigurationCondition +from kubernetes.aio.client.models.v1_priority_level_configuration_list import V1PriorityLevelConfigurationList +from kubernetes.aio.client.models.v1_priority_level_configuration_reference import V1PriorityLevelConfigurationReference +from kubernetes.aio.client.models.v1_priority_level_configuration_spec import V1PriorityLevelConfigurationSpec +from kubernetes.aio.client.models.v1_priority_level_configuration_status import V1PriorityLevelConfigurationStatus +from kubernetes.aio.client.models.v1_probe import V1Probe +from kubernetes.aio.client.models.v1_projected_volume_source import V1ProjectedVolumeSource +from kubernetes.aio.client.models.v1_queuing_configuration import V1QueuingConfiguration +from kubernetes.aio.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource +from kubernetes.aio.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource +from kubernetes.aio.client.models.v1_rbd_volume_source import V1RBDVolumeSource +from kubernetes.aio.client.models.v1_replica_set import V1ReplicaSet +from kubernetes.aio.client.models.v1_replica_set_condition import V1ReplicaSetCondition +from kubernetes.aio.client.models.v1_replica_set_list import V1ReplicaSetList +from kubernetes.aio.client.models.v1_replica_set_spec import V1ReplicaSetSpec +from kubernetes.aio.client.models.v1_replica_set_status import V1ReplicaSetStatus +from kubernetes.aio.client.models.v1_replication_controller import V1ReplicationController +from kubernetes.aio.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition +from kubernetes.aio.client.models.v1_replication_controller_list import V1ReplicationControllerList +from kubernetes.aio.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec +from kubernetes.aio.client.models.v1_replication_controller_status import V1ReplicationControllerStatus +from kubernetes.aio.client.models.v1_resource_attributes import V1ResourceAttributes +from kubernetes.aio.client.models.v1_resource_claim_consumer_reference import V1ResourceClaimConsumerReference +from kubernetes.aio.client.models.v1_resource_claim_list import V1ResourceClaimList +from kubernetes.aio.client.models.v1_resource_claim_spec import V1ResourceClaimSpec +from kubernetes.aio.client.models.v1_resource_claim_status import V1ResourceClaimStatus +from kubernetes.aio.client.models.v1_resource_claim_template import V1ResourceClaimTemplate +from kubernetes.aio.client.models.v1_resource_claim_template_list import V1ResourceClaimTemplateList +from kubernetes.aio.client.models.v1_resource_claim_template_spec import V1ResourceClaimTemplateSpec +from kubernetes.aio.client.models.v1_resource_field_selector import V1ResourceFieldSelector +from kubernetes.aio.client.models.v1_resource_health import V1ResourceHealth +from kubernetes.aio.client.models.v1_resource_policy_rule import V1ResourcePolicyRule +from kubernetes.aio.client.models.v1_resource_pool import V1ResourcePool +from kubernetes.aio.client.models.v1_resource_quota import V1ResourceQuota +from kubernetes.aio.client.models.v1_resource_quota_list import V1ResourceQuotaList +from kubernetes.aio.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec +from kubernetes.aio.client.models.v1_resource_quota_status import V1ResourceQuotaStatus +from kubernetes.aio.client.models.v1_resource_requirements import V1ResourceRequirements +from kubernetes.aio.client.models.v1_resource_rule import V1ResourceRule +from kubernetes.aio.client.models.v1_resource_slice import V1ResourceSlice +from kubernetes.aio.client.models.v1_resource_slice_list import V1ResourceSliceList +from kubernetes.aio.client.models.v1_resource_slice_spec import V1ResourceSliceSpec +from kubernetes.aio.client.models.v1_resource_status import V1ResourceStatus +from kubernetes.aio.client.models.v1_role import V1Role +from kubernetes.aio.client.models.v1_role_binding import V1RoleBinding +from kubernetes.aio.client.models.v1_role_binding_list import V1RoleBindingList +from kubernetes.aio.client.models.v1_role_list import V1RoleList +from kubernetes.aio.client.models.v1_role_ref import V1RoleRef +from kubernetes.aio.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet +from kubernetes.aio.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment +from kubernetes.aio.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy +from kubernetes.aio.client.models.v1_rule_with_operations import V1RuleWithOperations +from kubernetes.aio.client.models.v1_runtime_class import V1RuntimeClass +from kubernetes.aio.client.models.v1_runtime_class_list import V1RuntimeClassList +from kubernetes.aio.client.models.v1_se_linux_options import V1SELinuxOptions +from kubernetes.aio.client.models.v1_scale import V1Scale +from kubernetes.aio.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource +from kubernetes.aio.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource +from kubernetes.aio.client.models.v1_scale_spec import V1ScaleSpec +from kubernetes.aio.client.models.v1_scale_status import V1ScaleStatus +from kubernetes.aio.client.models.v1_scheduling import V1Scheduling +from kubernetes.aio.client.models.v1_scope_selector import V1ScopeSelector +from kubernetes.aio.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement +from kubernetes.aio.client.models.v1_seccomp_profile import V1SeccompProfile +from kubernetes.aio.client.models.v1_secret import V1Secret +from kubernetes.aio.client.models.v1_secret_env_source import V1SecretEnvSource +from kubernetes.aio.client.models.v1_secret_key_selector import V1SecretKeySelector +from kubernetes.aio.client.models.v1_secret_list import V1SecretList +from kubernetes.aio.client.models.v1_secret_projection import V1SecretProjection +from kubernetes.aio.client.models.v1_secret_reference import V1SecretReference +from kubernetes.aio.client.models.v1_secret_volume_source import V1SecretVolumeSource +from kubernetes.aio.client.models.v1_security_context import V1SecurityContext +from kubernetes.aio.client.models.v1_selectable_field import V1SelectableField +from kubernetes.aio.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview +from kubernetes.aio.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec +from kubernetes.aio.client.models.v1_self_subject_review import V1SelfSubjectReview +from kubernetes.aio.client.models.v1_self_subject_review_status import V1SelfSubjectReviewStatus +from kubernetes.aio.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview +from kubernetes.aio.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec +from kubernetes.aio.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR +from kubernetes.aio.client.models.v1_service import V1Service +from kubernetes.aio.client.models.v1_service_account import V1ServiceAccount +from kubernetes.aio.client.models.v1_service_account_list import V1ServiceAccountList +from kubernetes.aio.client.models.v1_service_account_subject import V1ServiceAccountSubject +from kubernetes.aio.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection +from kubernetes.aio.client.models.v1_service_backend_port import V1ServiceBackendPort +from kubernetes.aio.client.models.v1_service_cidr import V1ServiceCIDR +from kubernetes.aio.client.models.v1_service_cidr_list import V1ServiceCIDRList +from kubernetes.aio.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec +from kubernetes.aio.client.models.v1_service_cidr_status import V1ServiceCIDRStatus +from kubernetes.aio.client.models.v1_service_list import V1ServiceList +from kubernetes.aio.client.models.v1_service_port import V1ServicePort +from kubernetes.aio.client.models.v1_service_spec import V1ServiceSpec +from kubernetes.aio.client.models.v1_service_status import V1ServiceStatus +from kubernetes.aio.client.models.v1_session_affinity_config import V1SessionAffinityConfig +from kubernetes.aio.client.models.v1_shard_info import V1ShardInfo +from kubernetes.aio.client.models.v1_sleep_action import V1SleepAction +from kubernetes.aio.client.models.v1_stateful_set import V1StatefulSet +from kubernetes.aio.client.models.v1_stateful_set_condition import V1StatefulSetCondition +from kubernetes.aio.client.models.v1_stateful_set_list import V1StatefulSetList +from kubernetes.aio.client.models.v1_stateful_set_ordinals import V1StatefulSetOrdinals +from kubernetes.aio.client.models.v1_stateful_set_persistent_volume_claim_retention_policy import V1StatefulSetPersistentVolumeClaimRetentionPolicy +from kubernetes.aio.client.models.v1_stateful_set_spec import V1StatefulSetSpec +from kubernetes.aio.client.models.v1_stateful_set_status import V1StatefulSetStatus +from kubernetes.aio.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy +from kubernetes.aio.client.models.v1_status import V1Status +from kubernetes.aio.client.models.v1_status_cause import V1StatusCause +from kubernetes.aio.client.models.v1_status_details import V1StatusDetails +from kubernetes.aio.client.models.v1_storage_class import V1StorageClass +from kubernetes.aio.client.models.v1_storage_class_list import V1StorageClassList +from kubernetes.aio.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource +from kubernetes.aio.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource +from kubernetes.aio.client.models.v1_subject_access_review import V1SubjectAccessReview +from kubernetes.aio.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec +from kubernetes.aio.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus +from kubernetes.aio.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus +from kubernetes.aio.client.models.v1_success_policy import V1SuccessPolicy +from kubernetes.aio.client.models.v1_success_policy_rule import V1SuccessPolicyRule +from kubernetes.aio.client.models.v1_sysctl import V1Sysctl +from kubernetes.aio.client.models.v1_tcp_socket_action import V1TCPSocketAction +from kubernetes.aio.client.models.v1_taint import V1Taint +from kubernetes.aio.client.models.v1_token_request_spec import V1TokenRequestSpec +from kubernetes.aio.client.models.v1_token_request_status import V1TokenRequestStatus +from kubernetes.aio.client.models.v1_token_review import V1TokenReview +from kubernetes.aio.client.models.v1_token_review_spec import V1TokenReviewSpec +from kubernetes.aio.client.models.v1_token_review_status import V1TokenReviewStatus +from kubernetes.aio.client.models.v1_toleration import V1Toleration +from kubernetes.aio.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement +from kubernetes.aio.client.models.v1_topology_selector_term import V1TopologySelectorTerm +from kubernetes.aio.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint +from kubernetes.aio.client.models.v1_type_checking import V1TypeChecking +from kubernetes.aio.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference +from kubernetes.aio.client.models.v1_typed_object_reference import V1TypedObjectReference +from kubernetes.aio.client.models.v1_uncounted_terminated_pods import V1UncountedTerminatedPods +from kubernetes.aio.client.models.v1_user_info import V1UserInfo +from kubernetes.aio.client.models.v1_user_subject import V1UserSubject +from kubernetes.aio.client.models.v1_validating_admission_policy import V1ValidatingAdmissionPolicy +from kubernetes.aio.client.models.v1_validating_admission_policy_binding import V1ValidatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1_validating_admission_policy_binding_list import V1ValidatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1_validating_admission_policy_binding_spec import V1ValidatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1_validating_admission_policy_list import V1ValidatingAdmissionPolicyList +from kubernetes.aio.client.models.v1_validating_admission_policy_spec import V1ValidatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1_validating_admission_policy_status import V1ValidatingAdmissionPolicyStatus +from kubernetes.aio.client.models.v1_validating_webhook import V1ValidatingWebhook +from kubernetes.aio.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration +from kubernetes.aio.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList +from kubernetes.aio.client.models.v1_validation import V1Validation +from kubernetes.aio.client.models.v1_validation_rule import V1ValidationRule +from kubernetes.aio.client.models.v1_variable import V1Variable +from kubernetes.aio.client.models.v1_volume import V1Volume +from kubernetes.aio.client.models.v1_volume_attachment import V1VolumeAttachment +from kubernetes.aio.client.models.v1_volume_attachment_list import V1VolumeAttachmentList +from kubernetes.aio.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource +from kubernetes.aio.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec +from kubernetes.aio.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus +from kubernetes.aio.client.models.v1_volume_attributes_class import V1VolumeAttributesClass +from kubernetes.aio.client.models.v1_volume_attributes_class_list import V1VolumeAttributesClassList +from kubernetes.aio.client.models.v1_volume_device import V1VolumeDevice +from kubernetes.aio.client.models.v1_volume_error import V1VolumeError +from kubernetes.aio.client.models.v1_volume_mount import V1VolumeMount +from kubernetes.aio.client.models.v1_volume_mount_status import V1VolumeMountStatus +from kubernetes.aio.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity +from kubernetes.aio.client.models.v1_volume_node_resources import V1VolumeNodeResources +from kubernetes.aio.client.models.v1_volume_projection import V1VolumeProjection +from kubernetes.aio.client.models.v1_volume_resource_requirements import V1VolumeResourceRequirements +from kubernetes.aio.client.models.v1_volume_status import V1VolumeStatus +from kubernetes.aio.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource +from kubernetes.aio.client.models.v1_watch_event import V1WatchEvent +from kubernetes.aio.client.models.v1_webhook_conversion import V1WebhookConversion +from kubernetes.aio.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm +from kubernetes.aio.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions +from kubernetes.aio.client.models.v1alpha1_apply_configuration import V1alpha1ApplyConfiguration +from kubernetes.aio.client.models.v1alpha1_cluster_trust_bundle import V1alpha1ClusterTrustBundle +from kubernetes.aio.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1ClusterTrustBundleList +from kubernetes.aio.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec +from kubernetes.aio.client.models.v1alpha1_json_patch import V1alpha1JSONPatch +from kubernetes.aio.client.models.v1alpha1_match_condition import V1alpha1MatchCondition +from kubernetes.aio.client.models.v1alpha1_match_resources import V1alpha1MatchResources +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy import V1alpha1MutatingAdmissionPolicy +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_binding import V1alpha1MutatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_binding_list import V1alpha1MutatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_binding_spec import V1alpha1MutatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_list import V1alpha1MutatingAdmissionPolicyList +from kubernetes.aio.client.models.v1alpha1_mutating_admission_policy_spec import V1alpha1MutatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1alpha1_mutation import V1alpha1Mutation +from kubernetes.aio.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations +from kubernetes.aio.client.models.v1alpha1_param_kind import V1alpha1ParamKind +from kubernetes.aio.client.models.v1alpha1_param_ref import V1alpha1ParamRef +from kubernetes.aio.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion +from kubernetes.aio.client.models.v1alpha1_storage_version import V1alpha1StorageVersion +from kubernetes.aio.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition +from kubernetes.aio.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList +from kubernetes.aio.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus +from kubernetes.aio.client.models.v1alpha1_variable import V1alpha1Variable +from kubernetes.aio.client.models.v1alpha2_gang_scheduling_policy import V1alpha2GangSchedulingPolicy +from kubernetes.aio.client.models.v1alpha2_lease_candidate import V1alpha2LeaseCandidate +from kubernetes.aio.client.models.v1alpha2_lease_candidate_list import V1alpha2LeaseCandidateList +from kubernetes.aio.client.models.v1alpha2_lease_candidate_spec import V1alpha2LeaseCandidateSpec +from kubernetes.aio.client.models.v1alpha2_pod_group import V1alpha2PodGroup +from kubernetes.aio.client.models.v1alpha2_pod_group_list import V1alpha2PodGroupList +from kubernetes.aio.client.models.v1alpha2_pod_group_resource_claim import V1alpha2PodGroupResourceClaim +from kubernetes.aio.client.models.v1alpha2_pod_group_resource_claim_status import V1alpha2PodGroupResourceClaimStatus +from kubernetes.aio.client.models.v1alpha2_pod_group_scheduling_constraints import V1alpha2PodGroupSchedulingConstraints +from kubernetes.aio.client.models.v1alpha2_pod_group_scheduling_policy import V1alpha2PodGroupSchedulingPolicy +from kubernetes.aio.client.models.v1alpha2_pod_group_spec import V1alpha2PodGroupSpec +from kubernetes.aio.client.models.v1alpha2_pod_group_status import V1alpha2PodGroupStatus +from kubernetes.aio.client.models.v1alpha2_pod_group_template import V1alpha2PodGroupTemplate +from kubernetes.aio.client.models.v1alpha2_pod_group_template_reference import V1alpha2PodGroupTemplateReference +from kubernetes.aio.client.models.v1alpha2_topology_constraint import V1alpha2TopologyConstraint +from kubernetes.aio.client.models.v1alpha2_typed_local_object_reference import V1alpha2TypedLocalObjectReference +from kubernetes.aio.client.models.v1alpha2_workload import V1alpha2Workload +from kubernetes.aio.client.models.v1alpha2_workload_list import V1alpha2WorkloadList +from kubernetes.aio.client.models.v1alpha2_workload_pod_group_template_reference import V1alpha2WorkloadPodGroupTemplateReference +from kubernetes.aio.client.models.v1alpha2_workload_spec import V1alpha2WorkloadSpec +from kubernetes.aio.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint +from kubernetes.aio.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule +from kubernetes.aio.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList +from kubernetes.aio.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec +from kubernetes.aio.client.models.v1alpha3_device_taint_rule_status import V1alpha3DeviceTaintRuleStatus +from kubernetes.aio.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector +from kubernetes.aio.client.models.v1alpha3_pool_status import V1alpha3PoolStatus +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request import V1alpha3ResourcePoolStatusRequest +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request_list import V1alpha3ResourcePoolStatusRequestList +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request_spec import V1alpha3ResourcePoolStatusRequestSpec +from kubernetes.aio.client.models.v1alpha3_resource_pool_status_request_status import V1alpha3ResourcePoolStatusRequestStatus +from kubernetes.aio.client.models.v1beta1_allocated_device_status import V1beta1AllocatedDeviceStatus +from kubernetes.aio.client.models.v1beta1_allocation_result import V1beta1AllocationResult +from kubernetes.aio.client.models.v1beta1_apply_configuration import V1beta1ApplyConfiguration +from kubernetes.aio.client.models.v1beta1_basic_device import V1beta1BasicDevice +from kubernetes.aio.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector +from kubernetes.aio.client.models.v1beta1_capacity_request_policy import V1beta1CapacityRequestPolicy +from kubernetes.aio.client.models.v1beta1_capacity_request_policy_range import V1beta1CapacityRequestPolicyRange +from kubernetes.aio.client.models.v1beta1_capacity_requirements import V1beta1CapacityRequirements +from kubernetes.aio.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle +from kubernetes.aio.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList +from kubernetes.aio.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec +from kubernetes.aio.client.models.v1beta1_counter import V1beta1Counter +from kubernetes.aio.client.models.v1beta1_counter_set import V1beta1CounterSet +from kubernetes.aio.client.models.v1beta1_device import V1beta1Device +from kubernetes.aio.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration +from kubernetes.aio.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult +from kubernetes.aio.client.models.v1beta1_device_attribute import V1beta1DeviceAttribute +from kubernetes.aio.client.models.v1beta1_device_capacity import V1beta1DeviceCapacity +from kubernetes.aio.client.models.v1beta1_device_claim import V1beta1DeviceClaim +from kubernetes.aio.client.models.v1beta1_device_claim_configuration import V1beta1DeviceClaimConfiguration +from kubernetes.aio.client.models.v1beta1_device_class import V1beta1DeviceClass +from kubernetes.aio.client.models.v1beta1_device_class_configuration import V1beta1DeviceClassConfiguration +from kubernetes.aio.client.models.v1beta1_device_class_list import V1beta1DeviceClassList +from kubernetes.aio.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec +from kubernetes.aio.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint +from kubernetes.aio.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption +from kubernetes.aio.client.models.v1beta1_device_request import V1beta1DeviceRequest +from kubernetes.aio.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult +from kubernetes.aio.client.models.v1beta1_device_selector import V1beta1DeviceSelector +from kubernetes.aio.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest +from kubernetes.aio.client.models.v1beta1_device_taint import V1beta1DeviceTaint +from kubernetes.aio.client.models.v1beta1_device_toleration import V1beta1DeviceToleration +from kubernetes.aio.client.models.v1beta1_ip_address import V1beta1IPAddress +from kubernetes.aio.client.models.v1beta1_ip_address_list import V1beta1IPAddressList +from kubernetes.aio.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec +from kubernetes.aio.client.models.v1beta1_json_patch import V1beta1JSONPatch +from kubernetes.aio.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate +from kubernetes.aio.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList +from kubernetes.aio.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec +from kubernetes.aio.client.models.v1beta1_match_condition import V1beta1MatchCondition +from kubernetes.aio.client.models.v1beta1_match_resources import V1beta1MatchResources +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy import V1beta1MutatingAdmissionPolicy +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_binding import V1beta1MutatingAdmissionPolicyBinding +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_binding_list import V1beta1MutatingAdmissionPolicyBindingList +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_binding_spec import V1beta1MutatingAdmissionPolicyBindingSpec +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_list import V1beta1MutatingAdmissionPolicyList +from kubernetes.aio.client.models.v1beta1_mutating_admission_policy_spec import V1beta1MutatingAdmissionPolicySpec +from kubernetes.aio.client.models.v1beta1_mutation import V1beta1Mutation +from kubernetes.aio.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations +from kubernetes.aio.client.models.v1beta1_network_device_data import V1beta1NetworkDeviceData +from kubernetes.aio.client.models.v1beta1_node_allocatable_resource_mapping import V1beta1NodeAllocatableResourceMapping +from kubernetes.aio.client.models.v1beta1_opaque_device_configuration import V1beta1OpaqueDeviceConfiguration +from kubernetes.aio.client.models.v1beta1_param_kind import V1beta1ParamKind +from kubernetes.aio.client.models.v1beta1_param_ref import V1beta1ParamRef +from kubernetes.aio.client.models.v1beta1_parent_reference import V1beta1ParentReference +from kubernetes.aio.client.models.v1beta1_pod_certificate_request import V1beta1PodCertificateRequest +from kubernetes.aio.client.models.v1beta1_pod_certificate_request_list import V1beta1PodCertificateRequestList +from kubernetes.aio.client.models.v1beta1_pod_certificate_request_spec import V1beta1PodCertificateRequestSpec +from kubernetes.aio.client.models.v1beta1_pod_certificate_request_status import V1beta1PodCertificateRequestStatus +from kubernetes.aio.client.models.v1beta1_resource_claim import V1beta1ResourceClaim +from kubernetes.aio.client.models.v1beta1_resource_claim_consumer_reference import V1beta1ResourceClaimConsumerReference +from kubernetes.aio.client.models.v1beta1_resource_claim_list import V1beta1ResourceClaimList +from kubernetes.aio.client.models.v1beta1_resource_claim_spec import V1beta1ResourceClaimSpec +from kubernetes.aio.client.models.v1beta1_resource_claim_status import V1beta1ResourceClaimStatus +from kubernetes.aio.client.models.v1beta1_resource_claim_template import V1beta1ResourceClaimTemplate +from kubernetes.aio.client.models.v1beta1_resource_claim_template_list import V1beta1ResourceClaimTemplateList +from kubernetes.aio.client.models.v1beta1_resource_claim_template_spec import V1beta1ResourceClaimTemplateSpec +from kubernetes.aio.client.models.v1beta1_resource_pool import V1beta1ResourcePool +from kubernetes.aio.client.models.v1beta1_resource_slice import V1beta1ResourceSlice +from kubernetes.aio.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList +from kubernetes.aio.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec +from kubernetes.aio.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR +from kubernetes.aio.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList +from kubernetes.aio.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec +from kubernetes.aio.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus +from kubernetes.aio.client.models.v1beta1_storage_version_migration import V1beta1StorageVersionMigration +from kubernetes.aio.client.models.v1beta1_storage_version_migration_list import V1beta1StorageVersionMigrationList +from kubernetes.aio.client.models.v1beta1_storage_version_migration_spec import V1beta1StorageVersionMigrationSpec +from kubernetes.aio.client.models.v1beta1_storage_version_migration_status import V1beta1StorageVersionMigrationStatus +from kubernetes.aio.client.models.v1beta1_variable import V1beta1Variable +from kubernetes.aio.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass +from kubernetes.aio.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList +from kubernetes.aio.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus +from kubernetes.aio.client.models.v1beta2_allocation_result import V1beta2AllocationResult +from kubernetes.aio.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector +from kubernetes.aio.client.models.v1beta2_capacity_request_policy import V1beta2CapacityRequestPolicy +from kubernetes.aio.client.models.v1beta2_capacity_request_policy_range import V1beta2CapacityRequestPolicyRange +from kubernetes.aio.client.models.v1beta2_capacity_requirements import V1beta2CapacityRequirements +from kubernetes.aio.client.models.v1beta2_counter import V1beta2Counter +from kubernetes.aio.client.models.v1beta2_counter_set import V1beta2CounterSet +from kubernetes.aio.client.models.v1beta2_device import V1beta2Device +from kubernetes.aio.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration +from kubernetes.aio.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult +from kubernetes.aio.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute +from kubernetes.aio.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity +from kubernetes.aio.client.models.v1beta2_device_claim import V1beta2DeviceClaim +from kubernetes.aio.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration +from kubernetes.aio.client.models.v1beta2_device_class import V1beta2DeviceClass +from kubernetes.aio.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration +from kubernetes.aio.client.models.v1beta2_device_class_list import V1beta2DeviceClassList +from kubernetes.aio.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec +from kubernetes.aio.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint +from kubernetes.aio.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption +from kubernetes.aio.client.models.v1beta2_device_request import V1beta2DeviceRequest +from kubernetes.aio.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult +from kubernetes.aio.client.models.v1beta2_device_selector import V1beta2DeviceSelector +from kubernetes.aio.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest +from kubernetes.aio.client.models.v1beta2_device_taint import V1beta2DeviceTaint +from kubernetes.aio.client.models.v1beta2_device_taint_rule import V1beta2DeviceTaintRule +from kubernetes.aio.client.models.v1beta2_device_taint_rule_list import V1beta2DeviceTaintRuleList +from kubernetes.aio.client.models.v1beta2_device_taint_rule_spec import V1beta2DeviceTaintRuleSpec +from kubernetes.aio.client.models.v1beta2_device_taint_rule_status import V1beta2DeviceTaintRuleStatus +from kubernetes.aio.client.models.v1beta2_device_taint_selector import V1beta2DeviceTaintSelector +from kubernetes.aio.client.models.v1beta2_device_toleration import V1beta2DeviceToleration +from kubernetes.aio.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest +from kubernetes.aio.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData +from kubernetes.aio.client.models.v1beta2_node_allocatable_resource_mapping import V1beta2NodeAllocatableResourceMapping +from kubernetes.aio.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration +from kubernetes.aio.client.models.v1beta2_resource_claim import V1beta2ResourceClaim +from kubernetes.aio.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference +from kubernetes.aio.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList +from kubernetes.aio.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec +from kubernetes.aio.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus +from kubernetes.aio.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate +from kubernetes.aio.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList +from kubernetes.aio.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec +from kubernetes.aio.client.models.v1beta2_resource_pool import V1beta2ResourcePool +from kubernetes.aio.client.models.v1beta2_resource_slice import V1beta2ResourceSlice +from kubernetes.aio.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList +from kubernetes.aio.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec +from kubernetes.aio.client.models.v2_api_group_discovery import V2APIGroupDiscovery +from kubernetes.aio.client.models.v2_api_group_discovery_list import V2APIGroupDiscoveryList +from kubernetes.aio.client.models.v2_api_resource_discovery import V2APIResourceDiscovery +from kubernetes.aio.client.models.v2_api_subresource_discovery import V2APISubresourceDiscovery +from kubernetes.aio.client.models.v2_api_version_discovery import V2APIVersionDiscovery +from kubernetes.aio.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource +from kubernetes.aio.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus +from kubernetes.aio.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference +from kubernetes.aio.client.models.v2_external_metric_source import V2ExternalMetricSource +from kubernetes.aio.client.models.v2_external_metric_status import V2ExternalMetricStatus +from kubernetes.aio.client.models.v2_hpa_scaling_policy import V2HPAScalingPolicy +from kubernetes.aio.client.models.v2_hpa_scaling_rules import V2HPAScalingRules +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler import V2HorizontalPodAutoscaler +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_condition import V2HorizontalPodAutoscalerCondition +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_list import V2HorizontalPodAutoscalerList +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_spec import V2HorizontalPodAutoscalerSpec +from kubernetes.aio.client.models.v2_horizontal_pod_autoscaler_status import V2HorizontalPodAutoscalerStatus +from kubernetes.aio.client.models.v2_metric_identifier import V2MetricIdentifier +from kubernetes.aio.client.models.v2_metric_spec import V2MetricSpec +from kubernetes.aio.client.models.v2_metric_status import V2MetricStatus +from kubernetes.aio.client.models.v2_metric_target import V2MetricTarget +from kubernetes.aio.client.models.v2_metric_value_status import V2MetricValueStatus +from kubernetes.aio.client.models.v2_object_metric_source import V2ObjectMetricSource +from kubernetes.aio.client.models.v2_object_metric_status import V2ObjectMetricStatus +from kubernetes.aio.client.models.v2_pods_metric_source import V2PodsMetricSource +from kubernetes.aio.client.models.v2_pods_metric_status import V2PodsMetricStatus +from kubernetes.aio.client.models.v2_resource_metric_source import V2ResourceMetricSource +from kubernetes.aio.client.models.v2_resource_metric_status import V2ResourceMetricStatus +from kubernetes.aio.client.models.v2beta1_api_group_discovery import V2beta1APIGroupDiscovery +from kubernetes.aio.client.models.v2beta1_api_group_discovery_list import V2beta1APIGroupDiscoveryList +from kubernetes.aio.client.models.v2beta1_api_resource_discovery import V2beta1APIResourceDiscovery +from kubernetes.aio.client.models.v2beta1_api_subresource_discovery import V2beta1APISubresourceDiscovery +from kubernetes.aio.client.models.v2beta1_api_version_discovery import V2beta1APIVersionDiscovery +from kubernetes.aio.client.models.version_info import VersionInfo diff --git a/kubernetes_asyncio/client/models/admissionregistration_v1_service_reference.py b/kubernetes/aio/client/models/admissionregistration_v1_service_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/admissionregistration_v1_service_reference.py rename to kubernetes/aio/client/models/admissionregistration_v1_service_reference.py index aa71500a5c..3b8f413a7a 100644 --- a/kubernetes_asyncio/client/models/admissionregistration_v1_service_reference.py +++ b/kubernetes/aio/client/models/admissionregistration_v1_service_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class AdmissionregistrationV1ServiceReference(object): diff --git a/kubernetes_asyncio/client/models/admissionregistration_v1_webhook_client_config.py b/kubernetes/aio/client/models/admissionregistration_v1_webhook_client_config.py similarity index 99% rename from kubernetes_asyncio/client/models/admissionregistration_v1_webhook_client_config.py rename to kubernetes/aio/client/models/admissionregistration_v1_webhook_client_config.py index e3236cd785..42117df1ca 100644 --- a/kubernetes_asyncio/client/models/admissionregistration_v1_webhook_client_config.py +++ b/kubernetes/aio/client/models/admissionregistration_v1_webhook_client_config.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class AdmissionregistrationV1WebhookClientConfig(object): diff --git a/kubernetes_asyncio/client/models/apiextensions_v1_service_reference.py b/kubernetes/aio/client/models/apiextensions_v1_service_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/apiextensions_v1_service_reference.py rename to kubernetes/aio/client/models/apiextensions_v1_service_reference.py index 2aa3f1c8e6..39be11b2d7 100644 --- a/kubernetes_asyncio/client/models/apiextensions_v1_service_reference.py +++ b/kubernetes/aio/client/models/apiextensions_v1_service_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class ApiextensionsV1ServiceReference(object): diff --git a/kubernetes_asyncio/client/models/apiextensions_v1_webhook_client_config.py b/kubernetes/aio/client/models/apiextensions_v1_webhook_client_config.py similarity index 99% rename from kubernetes_asyncio/client/models/apiextensions_v1_webhook_client_config.py rename to kubernetes/aio/client/models/apiextensions_v1_webhook_client_config.py index 814908a729..cc68d97e62 100644 --- a/kubernetes_asyncio/client/models/apiextensions_v1_webhook_client_config.py +++ b/kubernetes/aio/client/models/apiextensions_v1_webhook_client_config.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class ApiextensionsV1WebhookClientConfig(object): diff --git a/kubernetes_asyncio/client/models/apiregistration_v1_service_reference.py b/kubernetes/aio/client/models/apiregistration_v1_service_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/apiregistration_v1_service_reference.py rename to kubernetes/aio/client/models/apiregistration_v1_service_reference.py index 26aa4eb1fe..8f322eed8e 100644 --- a/kubernetes_asyncio/client/models/apiregistration_v1_service_reference.py +++ b/kubernetes/aio/client/models/apiregistration_v1_service_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class ApiregistrationV1ServiceReference(object): diff --git a/kubernetes_asyncio/client/models/authentication_v1_token_request.py b/kubernetes/aio/client/models/authentication_v1_token_request.py similarity index 99% rename from kubernetes_asyncio/client/models/authentication_v1_token_request.py rename to kubernetes/aio/client/models/authentication_v1_token_request.py index 6d2faf816c..fd9ff66c8e 100644 --- a/kubernetes_asyncio/client/models/authentication_v1_token_request.py +++ b/kubernetes/aio/client/models/authentication_v1_token_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class AuthenticationV1TokenRequest(object): diff --git a/kubernetes_asyncio/client/models/core_v1_endpoint_port.py b/kubernetes/aio/client/models/core_v1_endpoint_port.py similarity index 99% rename from kubernetes_asyncio/client/models/core_v1_endpoint_port.py rename to kubernetes/aio/client/models/core_v1_endpoint_port.py index d2ed260df4..11f5829a0f 100644 --- a/kubernetes_asyncio/client/models/core_v1_endpoint_port.py +++ b/kubernetes/aio/client/models/core_v1_endpoint_port.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class CoreV1EndpointPort(object): diff --git a/kubernetes_asyncio/client/models/core_v1_event.py b/kubernetes/aio/client/models/core_v1_event.py similarity index 99% rename from kubernetes_asyncio/client/models/core_v1_event.py rename to kubernetes/aio/client/models/core_v1_event.py index ff89124952..2f59c2911c 100644 --- a/kubernetes_asyncio/client/models/core_v1_event.py +++ b/kubernetes/aio/client/models/core_v1_event.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class CoreV1Event(object): diff --git a/kubernetes_asyncio/client/models/core_v1_event_list.py b/kubernetes/aio/client/models/core_v1_event_list.py similarity index 99% rename from kubernetes_asyncio/client/models/core_v1_event_list.py rename to kubernetes/aio/client/models/core_v1_event_list.py index ab2c3993d2..f706c13f1c 100644 --- a/kubernetes_asyncio/client/models/core_v1_event_list.py +++ b/kubernetes/aio/client/models/core_v1_event_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class CoreV1EventList(object): diff --git a/kubernetes_asyncio/client/models/core_v1_event_series.py b/kubernetes/aio/client/models/core_v1_event_series.py similarity index 98% rename from kubernetes_asyncio/client/models/core_v1_event_series.py rename to kubernetes/aio/client/models/core_v1_event_series.py index 62dcca9301..9f2932e056 100644 --- a/kubernetes_asyncio/client/models/core_v1_event_series.py +++ b/kubernetes/aio/client/models/core_v1_event_series.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class CoreV1EventSeries(object): diff --git a/kubernetes_asyncio/client/models/core_v1_resource_claim.py b/kubernetes/aio/client/models/core_v1_resource_claim.py similarity index 98% rename from kubernetes_asyncio/client/models/core_v1_resource_claim.py rename to kubernetes/aio/client/models/core_v1_resource_claim.py index 49ca1be3ab..97f8b2c835 100644 --- a/kubernetes_asyncio/client/models/core_v1_resource_claim.py +++ b/kubernetes/aio/client/models/core_v1_resource_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class CoreV1ResourceClaim(object): diff --git a/kubernetes_asyncio/client/models/discovery_v1_endpoint_port.py b/kubernetes/aio/client/models/discovery_v1_endpoint_port.py similarity index 99% rename from kubernetes_asyncio/client/models/discovery_v1_endpoint_port.py rename to kubernetes/aio/client/models/discovery_v1_endpoint_port.py index 02e7167a8e..46f034be5d 100644 --- a/kubernetes_asyncio/client/models/discovery_v1_endpoint_port.py +++ b/kubernetes/aio/client/models/discovery_v1_endpoint_port.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class DiscoveryV1EndpointPort(object): diff --git a/kubernetes_asyncio/client/models/events_v1_event.py b/kubernetes/aio/client/models/events_v1_event.py similarity index 99% rename from kubernetes_asyncio/client/models/events_v1_event.py rename to kubernetes/aio/client/models/events_v1_event.py index e3c28b1b24..4d3caccbe5 100644 --- a/kubernetes_asyncio/client/models/events_v1_event.py +++ b/kubernetes/aio/client/models/events_v1_event.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class EventsV1Event(object): diff --git a/kubernetes_asyncio/client/models/events_v1_event_list.py b/kubernetes/aio/client/models/events_v1_event_list.py similarity index 99% rename from kubernetes_asyncio/client/models/events_v1_event_list.py rename to kubernetes/aio/client/models/events_v1_event_list.py index 979abdd6c3..7026a4b0a7 100644 --- a/kubernetes_asyncio/client/models/events_v1_event_list.py +++ b/kubernetes/aio/client/models/events_v1_event_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class EventsV1EventList(object): diff --git a/kubernetes_asyncio/client/models/events_v1_event_series.py b/kubernetes/aio/client/models/events_v1_event_series.py similarity index 98% rename from kubernetes_asyncio/client/models/events_v1_event_series.py rename to kubernetes/aio/client/models/events_v1_event_series.py index c312410ed9..3231a52660 100644 --- a/kubernetes_asyncio/client/models/events_v1_event_series.py +++ b/kubernetes/aio/client/models/events_v1_event_series.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class EventsV1EventSeries(object): diff --git a/kubernetes_asyncio/client/models/flowcontrol_v1_subject.py b/kubernetes/aio/client/models/flowcontrol_v1_subject.py similarity index 98% rename from kubernetes_asyncio/client/models/flowcontrol_v1_subject.py rename to kubernetes/aio/client/models/flowcontrol_v1_subject.py index 8f6cd10bca..2c2212d90a 100644 --- a/kubernetes_asyncio/client/models/flowcontrol_v1_subject.py +++ b/kubernetes/aio/client/models/flowcontrol_v1_subject.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class FlowcontrolV1Subject(object): diff --git a/kubernetes_asyncio/client/models/rbac_v1_subject.py b/kubernetes/aio/client/models/rbac_v1_subject.py similarity index 99% rename from kubernetes_asyncio/client/models/rbac_v1_subject.py rename to kubernetes/aio/client/models/rbac_v1_subject.py index cd9d4c9c1f..7b6bafc325 100644 --- a/kubernetes_asyncio/client/models/rbac_v1_subject.py +++ b/kubernetes/aio/client/models/rbac_v1_subject.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class RbacV1Subject(object): diff --git a/kubernetes_asyncio/client/models/resource_v1_resource_claim.py b/kubernetes/aio/client/models/resource_v1_resource_claim.py similarity index 99% rename from kubernetes_asyncio/client/models/resource_v1_resource_claim.py rename to kubernetes/aio/client/models/resource_v1_resource_claim.py index bd50a9f0a0..c490dfc4b7 100644 --- a/kubernetes_asyncio/client/models/resource_v1_resource_claim.py +++ b/kubernetes/aio/client/models/resource_v1_resource_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class ResourceV1ResourceClaim(object): diff --git a/kubernetes_asyncio/client/models/storage_v1_token_request.py b/kubernetes/aio/client/models/storage_v1_token_request.py similarity index 98% rename from kubernetes_asyncio/client/models/storage_v1_token_request.py rename to kubernetes/aio/client/models/storage_v1_token_request.py index 757f537540..b7a8161849 100644 --- a/kubernetes_asyncio/client/models/storage_v1_token_request.py +++ b/kubernetes/aio/client/models/storage_v1_token_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class StorageV1TokenRequest(object): diff --git a/kubernetes_asyncio/client/models/v1_affinity.py b/kubernetes/aio/client/models/v1_affinity.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_affinity.py rename to kubernetes/aio/client/models/v1_affinity.py index 596fa4d1a5..c650c1266b 100644 --- a/kubernetes_asyncio/client/models/v1_affinity.py +++ b/kubernetes/aio/client/models/v1_affinity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Affinity(object): diff --git a/kubernetes_asyncio/client/models/v1_aggregation_rule.py b/kubernetes/aio/client/models/v1_aggregation_rule.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_aggregation_rule.py rename to kubernetes/aio/client/models/v1_aggregation_rule.py index 0ee1a51625..6f98406ddf 100644 --- a/kubernetes_asyncio/client/models/v1_aggregation_rule.py +++ b/kubernetes/aio/client/models/v1_aggregation_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AggregationRule(object): diff --git a/kubernetes_asyncio/client/models/v1_allocated_device_status.py b/kubernetes/aio/client/models/v1_allocated_device_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_allocated_device_status.py rename to kubernetes/aio/client/models/v1_allocated_device_status.py index d631efbd2c..1f8ff52e8f 100644 --- a/kubernetes_asyncio/client/models/v1_allocated_device_status.py +++ b/kubernetes/aio/client/models/v1_allocated_device_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AllocatedDeviceStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_allocation_result.py b/kubernetes/aio/client/models/v1_allocation_result.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_allocation_result.py rename to kubernetes/aio/client/models/v1_allocation_result.py index 8e914a8f59..1f8079bb05 100644 --- a/kubernetes_asyncio/client/models/v1_allocation_result.py +++ b/kubernetes/aio/client/models/v1_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1_api_group.py b/kubernetes/aio/client/models/v1_api_group.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_group.py rename to kubernetes/aio/client/models/v1_api_group.py index 8ea709b99f..e3a991f29c 100644 --- a/kubernetes_asyncio/client/models/v1_api_group.py +++ b/kubernetes/aio/client/models/v1_api_group.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIGroup(object): diff --git a/kubernetes_asyncio/client/models/v1_api_group_list.py b/kubernetes/aio/client/models/v1_api_group_list.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_api_group_list.py rename to kubernetes/aio/client/models/v1_api_group_list.py index ca4f2aa98e..b2234479b1 100644 --- a/kubernetes_asyncio/client/models/v1_api_group_list.py +++ b/kubernetes/aio/client/models/v1_api_group_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIGroupList(object): diff --git a/kubernetes_asyncio/client/models/v1_api_resource.py b/kubernetes/aio/client/models/v1_api_resource.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_resource.py rename to kubernetes/aio/client/models/v1_api_resource.py index 32d994420d..4889de519b 100644 --- a/kubernetes_asyncio/client/models/v1_api_resource.py +++ b/kubernetes/aio/client/models/v1_api_resource.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIResource(object): diff --git a/kubernetes_asyncio/client/models/v1_api_resource_list.py b/kubernetes/aio/client/models/v1_api_resource_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_resource_list.py rename to kubernetes/aio/client/models/v1_api_resource_list.py index be63d17a6b..818c647ca6 100644 --- a/kubernetes_asyncio/client/models/v1_api_resource_list.py +++ b/kubernetes/aio/client/models/v1_api_resource_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIResourceList(object): diff --git a/kubernetes_asyncio/client/models/v1_api_service.py b/kubernetes/aio/client/models/v1_api_service.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_service.py rename to kubernetes/aio/client/models/v1_api_service.py index 73cf125ecd..1fdcf08ac3 100644 --- a/kubernetes_asyncio/client/models/v1_api_service.py +++ b/kubernetes/aio/client/models/v1_api_service.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIService(object): diff --git a/kubernetes_asyncio/client/models/v1_api_service_condition.py b/kubernetes/aio/client/models/v1_api_service_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_service_condition.py rename to kubernetes/aio/client/models/v1_api_service_condition.py index 5f570f3a9d..90234d77f7 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_condition.py +++ b/kubernetes/aio/client/models/v1_api_service_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIServiceCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_api_service_list.py b/kubernetes/aio/client/models/v1_api_service_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_service_list.py rename to kubernetes/aio/client/models/v1_api_service_list.py index 231282e36e..feb348097e 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_list.py +++ b/kubernetes/aio/client/models/v1_api_service_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIServiceList(object): diff --git a/kubernetes_asyncio/client/models/v1_api_service_spec.py b/kubernetes/aio/client/models/v1_api_service_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_service_spec.py rename to kubernetes/aio/client/models/v1_api_service_spec.py index 1cc42b7568..b3a27c1b1f 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_spec.py +++ b/kubernetes/aio/client/models/v1_api_service_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIServiceSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_api_service_status.py b/kubernetes/aio/client/models/v1_api_service_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_api_service_status.py rename to kubernetes/aio/client/models/v1_api_service_status.py index 0f155b1773..3d44a522a5 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_status.py +++ b/kubernetes/aio/client/models/v1_api_service_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIServiceStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_api_versions.py b/kubernetes/aio/client/models/v1_api_versions.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_api_versions.py rename to kubernetes/aio/client/models/v1_api_versions.py index ae7f9d6f9e..4b3c87b7ff 100644 --- a/kubernetes_asyncio/client/models/v1_api_versions.py +++ b/kubernetes/aio/client/models/v1_api_versions.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1APIVersions(object): diff --git a/kubernetes_asyncio/client/models/v1_app_armor_profile.py b/kubernetes/aio/client/models/v1_app_armor_profile.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_app_armor_profile.py rename to kubernetes/aio/client/models/v1_app_armor_profile.py index dac252815d..28b769e298 100644 --- a/kubernetes_asyncio/client/models/v1_app_armor_profile.py +++ b/kubernetes/aio/client/models/v1_app_armor_profile.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AppArmorProfile(object): diff --git a/kubernetes_asyncio/client/models/v1_apply_configuration.py b/kubernetes/aio/client/models/v1_apply_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_apply_configuration.py rename to kubernetes/aio/client/models/v1_apply_configuration.py index 047722cd96..d2086cf607 100644 --- a/kubernetes_asyncio/client/models/v1_apply_configuration.py +++ b/kubernetes/aio/client/models/v1_apply_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ApplyConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_attached_volume.py b/kubernetes/aio/client/models/v1_attached_volume.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_attached_volume.py rename to kubernetes/aio/client/models/v1_attached_volume.py index a346283eaa..fd541833af 100644 --- a/kubernetes_asyncio/client/models/v1_attached_volume.py +++ b/kubernetes/aio/client/models/v1_attached_volume.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AttachedVolume(object): diff --git a/kubernetes_asyncio/client/models/v1_audit_annotation.py b/kubernetes/aio/client/models/v1_audit_annotation.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_audit_annotation.py rename to kubernetes/aio/client/models/v1_audit_annotation.py index ca2ce2b343..81a074b750 100644 --- a/kubernetes_asyncio/client/models/v1_audit_annotation.py +++ b/kubernetes/aio/client/models/v1_audit_annotation.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AuditAnnotation(object): diff --git a/kubernetes_asyncio/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/aio/client/models/v1_aws_elastic_block_store_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_aws_elastic_block_store_volume_source.py rename to kubernetes/aio/client/models/v1_aws_elastic_block_store_volume_source.py index 5c034923ed..af02ea726f 100644 --- a/kubernetes_asyncio/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/aio/client/models/v1_aws_elastic_block_store_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AWSElasticBlockStoreVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_azure_disk_volume_source.py b/kubernetes/aio/client/models/v1_azure_disk_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_azure_disk_volume_source.py rename to kubernetes/aio/client/models/v1_azure_disk_volume_source.py index 9eea7e7374..f0787df575 100644 --- a/kubernetes_asyncio/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/aio/client/models/v1_azure_disk_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AzureDiskVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes/aio/client/models/v1_azure_file_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_azure_file_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_azure_file_persistent_volume_source.py index 35174cd7f1..6fff728b32 100644 --- a/kubernetes_asyncio/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_azure_file_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AzureFilePersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_azure_file_volume_source.py b/kubernetes/aio/client/models/v1_azure_file_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_azure_file_volume_source.py rename to kubernetes/aio/client/models/v1_azure_file_volume_source.py index 4cec6ed780..ace6697c4e 100644 --- a/kubernetes_asyncio/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/aio/client/models/v1_azure_file_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1AzureFileVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_binding.py b/kubernetes/aio/client/models/v1_binding.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_binding.py rename to kubernetes/aio/client/models/v1_binding.py index 56918e25a8..2a0f56dbab 100644 --- a/kubernetes_asyncio/client/models/v1_binding.py +++ b/kubernetes/aio/client/models/v1_binding.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Binding(object): diff --git a/kubernetes_asyncio/client/models/v1_bound_object_reference.py b/kubernetes/aio/client/models/v1_bound_object_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_bound_object_reference.py rename to kubernetes/aio/client/models/v1_bound_object_reference.py index afbbae34eb..bcb50ec85b 100644 --- a/kubernetes_asyncio/client/models/v1_bound_object_reference.py +++ b/kubernetes/aio/client/models/v1_bound_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1BoundObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v1_capabilities.py b/kubernetes/aio/client/models/v1_capabilities.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_capabilities.py rename to kubernetes/aio/client/models/v1_capabilities.py index 58eec9df95..d434eb3cc1 100644 --- a/kubernetes_asyncio/client/models/v1_capabilities.py +++ b/kubernetes/aio/client/models/v1_capabilities.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Capabilities(object): diff --git a/kubernetes_asyncio/client/models/v1_capacity_request_policy.py b/kubernetes/aio/client/models/v1_capacity_request_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_capacity_request_policy.py rename to kubernetes/aio/client/models/v1_capacity_request_policy.py index 64c5d05a96..0ec4a7c323 100644 --- a/kubernetes_asyncio/client/models/v1_capacity_request_policy.py +++ b/kubernetes/aio/client/models/v1_capacity_request_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CapacityRequestPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_capacity_request_policy_range.py b/kubernetes/aio/client/models/v1_capacity_request_policy_range.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_capacity_request_policy_range.py rename to kubernetes/aio/client/models/v1_capacity_request_policy_range.py index d24dc89e49..68222da3b4 100644 --- a/kubernetes_asyncio/client/models/v1_capacity_request_policy_range.py +++ b/kubernetes/aio/client/models/v1_capacity_request_policy_range.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CapacityRequestPolicyRange(object): diff --git a/kubernetes_asyncio/client/models/v1_capacity_requirements.py b/kubernetes/aio/client/models/v1_capacity_requirements.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_capacity_requirements.py rename to kubernetes/aio/client/models/v1_capacity_requirements.py index e84a719713..3117b9d6cd 100644 --- a/kubernetes_asyncio/client/models/v1_capacity_requirements.py +++ b/kubernetes/aio/client/models/v1_capacity_requirements.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CapacityRequirements(object): diff --git a/kubernetes_asyncio/client/models/v1_cel_device_selector.py b/kubernetes/aio/client/models/v1_cel_device_selector.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cel_device_selector.py rename to kubernetes/aio/client/models/v1_cel_device_selector.py index e35fb7df88..184a9eaea0 100644 --- a/kubernetes_asyncio/client/models/v1_cel_device_selector.py +++ b/kubernetes/aio/client/models/v1_cel_device_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CELDeviceSelector(object): diff --git a/kubernetes_asyncio/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes/aio/client/models/v1_ceph_fs_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ceph_fs_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_ceph_fs_persistent_volume_source.py index 9d1e20eb45..51308c4d9b 100644 --- a/kubernetes_asyncio/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_ceph_fs_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CephFSPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_ceph_fs_volume_source.py b/kubernetes/aio/client/models/v1_ceph_fs_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ceph_fs_volume_source.py rename to kubernetes/aio/client/models/v1_ceph_fs_volume_source.py index 6d2f668d6e..d9129a24ba 100644 --- a/kubernetes_asyncio/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/aio/client/models/v1_ceph_fs_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CephFSVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request.py b/kubernetes/aio/client/models/v1_certificate_signing_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_certificate_signing_request.py rename to kubernetes/aio/client/models/v1_certificate_signing_request.py index 5385de0600..e3e8d7cd6b 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request.py +++ b/kubernetes/aio/client/models/v1_certificate_signing_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CertificateSigningRequest(object): diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_condition.py b/kubernetes/aio/client/models/v1_certificate_signing_request_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_certificate_signing_request_condition.py rename to kubernetes/aio/client/models/v1_certificate_signing_request_condition.py index a6f3da8930..81c3e39214 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_condition.py +++ b/kubernetes/aio/client/models/v1_certificate_signing_request_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CertificateSigningRequestCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_list.py b/kubernetes/aio/client/models/v1_certificate_signing_request_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_certificate_signing_request_list.py rename to kubernetes/aio/client/models/v1_certificate_signing_request_list.py index a59301f13b..a12423dfab 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_list.py +++ b/kubernetes/aio/client/models/v1_certificate_signing_request_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CertificateSigningRequestList(object): diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py b/kubernetes/aio/client/models/v1_certificate_signing_request_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py rename to kubernetes/aio/client/models/v1_certificate_signing_request_spec.py index 8305399f96..e1218129d9 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py +++ b/kubernetes/aio/client/models/v1_certificate_signing_request_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CertificateSigningRequestSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_status.py b/kubernetes/aio/client/models/v1_certificate_signing_request_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_certificate_signing_request_status.py rename to kubernetes/aio/client/models/v1_certificate_signing_request_status.py index e6ae00bab1..115e70ec8c 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_status.py +++ b/kubernetes/aio/client/models/v1_certificate_signing_request_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CertificateSigningRequestStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_cinder_persistent_volume_source.py b/kubernetes/aio/client/models/v1_cinder_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cinder_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_cinder_persistent_volume_source.py index a5d3b21f27..eb21139656 100644 --- a/kubernetes_asyncio/client/models/v1_cinder_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_cinder_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CinderPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_cinder_volume_source.py b/kubernetes/aio/client/models/v1_cinder_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cinder_volume_source.py rename to kubernetes/aio/client/models/v1_cinder_volume_source.py index 740e257348..417adaa1e8 100644 --- a/kubernetes_asyncio/client/models/v1_cinder_volume_source.py +++ b/kubernetes/aio/client/models/v1_cinder_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CinderVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_client_ip_config.py b/kubernetes/aio/client/models/v1_client_ip_config.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_client_ip_config.py rename to kubernetes/aio/client/models/v1_client_ip_config.py index d2209f38e5..8798c8d08f 100644 --- a/kubernetes_asyncio/client/models/v1_client_ip_config.py +++ b/kubernetes/aio/client/models/v1_client_ip_config.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ClientIPConfig(object): diff --git a/kubernetes_asyncio/client/models/v1_cluster_role.py b/kubernetes/aio/client/models/v1_cluster_role.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cluster_role.py rename to kubernetes/aio/client/models/v1_cluster_role.py index 77ca31a2c8..2c1c783cb4 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role.py +++ b/kubernetes/aio/client/models/v1_cluster_role.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ClusterRole(object): diff --git a/kubernetes_asyncio/client/models/v1_cluster_role_binding.py b/kubernetes/aio/client/models/v1_cluster_role_binding.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cluster_role_binding.py rename to kubernetes/aio/client/models/v1_cluster_role_binding.py index 92ee1f40ef..6f44a367b9 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role_binding.py +++ b/kubernetes/aio/client/models/v1_cluster_role_binding.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ClusterRoleBinding(object): diff --git a/kubernetes_asyncio/client/models/v1_cluster_role_binding_list.py b/kubernetes/aio/client/models/v1_cluster_role_binding_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cluster_role_binding_list.py rename to kubernetes/aio/client/models/v1_cluster_role_binding_list.py index 480dcdd238..07a6c9d29f 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes/aio/client/models/v1_cluster_role_binding_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ClusterRoleBindingList(object): diff --git a/kubernetes_asyncio/client/models/v1_cluster_role_list.py b/kubernetes/aio/client/models/v1_cluster_role_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cluster_role_list.py rename to kubernetes/aio/client/models/v1_cluster_role_list.py index b283a97a49..6a60677a6e 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role_list.py +++ b/kubernetes/aio/client/models/v1_cluster_role_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ClusterRoleList(object): diff --git a/kubernetes_asyncio/client/models/v1_cluster_trust_bundle_projection.py b/kubernetes/aio/client/models/v1_cluster_trust_bundle_projection.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cluster_trust_bundle_projection.py rename to kubernetes/aio/client/models/v1_cluster_trust_bundle_projection.py index ad9892719a..e99167120d 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_trust_bundle_projection.py +++ b/kubernetes/aio/client/models/v1_cluster_trust_bundle_projection.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ClusterTrustBundleProjection(object): diff --git a/kubernetes_asyncio/client/models/v1_component_condition.py b/kubernetes/aio/client/models/v1_component_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_component_condition.py rename to kubernetes/aio/client/models/v1_component_condition.py index 0ed9417c4f..3232996ba9 100644 --- a/kubernetes_asyncio/client/models/v1_component_condition.py +++ b/kubernetes/aio/client/models/v1_component_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ComponentCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_component_status.py b/kubernetes/aio/client/models/v1_component_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_component_status.py rename to kubernetes/aio/client/models/v1_component_status.py index 641b16a12f..ffdddc05fe 100644 --- a/kubernetes_asyncio/client/models/v1_component_status.py +++ b/kubernetes/aio/client/models/v1_component_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ComponentStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_component_status_list.py b/kubernetes/aio/client/models/v1_component_status_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_component_status_list.py rename to kubernetes/aio/client/models/v1_component_status_list.py index 8ff20a9182..1e1ac7d1a7 100644 --- a/kubernetes_asyncio/client/models/v1_component_status_list.py +++ b/kubernetes/aio/client/models/v1_component_status_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ComponentStatusList(object): diff --git a/kubernetes_asyncio/client/models/v1_condition.py b/kubernetes/aio/client/models/v1_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_condition.py rename to kubernetes/aio/client/models/v1_condition.py index a8543fc71e..e14692d0d1 100644 --- a/kubernetes_asyncio/client/models/v1_condition.py +++ b/kubernetes/aio/client/models/v1_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Condition(object): diff --git a/kubernetes_asyncio/client/models/v1_config_map.py b/kubernetes/aio/client/models/v1_config_map.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_config_map.py rename to kubernetes/aio/client/models/v1_config_map.py index 059c74f969..a01576917a 100644 --- a/kubernetes_asyncio/client/models/v1_config_map.py +++ b/kubernetes/aio/client/models/v1_config_map.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ConfigMap(object): diff --git a/kubernetes_asyncio/client/models/v1_config_map_env_source.py b/kubernetes/aio/client/models/v1_config_map_env_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_config_map_env_source.py rename to kubernetes/aio/client/models/v1_config_map_env_source.py index 4985b211c6..7ede204ace 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_env_source.py +++ b/kubernetes/aio/client/models/v1_config_map_env_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ConfigMapEnvSource(object): diff --git a/kubernetes_asyncio/client/models/v1_config_map_key_selector.py b/kubernetes/aio/client/models/v1_config_map_key_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_config_map_key_selector.py rename to kubernetes/aio/client/models/v1_config_map_key_selector.py index 606f0696ad..1763afdbad 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_key_selector.py +++ b/kubernetes/aio/client/models/v1_config_map_key_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ConfigMapKeySelector(object): diff --git a/kubernetes_asyncio/client/models/v1_config_map_list.py b/kubernetes/aio/client/models/v1_config_map_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_config_map_list.py rename to kubernetes/aio/client/models/v1_config_map_list.py index cc5da82d5a..e8916de8d9 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_list.py +++ b/kubernetes/aio/client/models/v1_config_map_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ConfigMapList(object): diff --git a/kubernetes_asyncio/client/models/v1_config_map_node_config_source.py b/kubernetes/aio/client/models/v1_config_map_node_config_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_config_map_node_config_source.py rename to kubernetes/aio/client/models/v1_config_map_node_config_source.py index cd5f0d80ad..546ebdefc9 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_node_config_source.py +++ b/kubernetes/aio/client/models/v1_config_map_node_config_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ConfigMapNodeConfigSource(object): diff --git a/kubernetes_asyncio/client/models/v1_config_map_projection.py b/kubernetes/aio/client/models/v1_config_map_projection.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_config_map_projection.py rename to kubernetes/aio/client/models/v1_config_map_projection.py index e0eba90dcb..6a998256a0 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_projection.py +++ b/kubernetes/aio/client/models/v1_config_map_projection.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ConfigMapProjection(object): diff --git a/kubernetes_asyncio/client/models/v1_config_map_volume_source.py b/kubernetes/aio/client/models/v1_config_map_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_config_map_volume_source.py rename to kubernetes/aio/client/models/v1_config_map_volume_source.py index 557215a58f..76751cddd9 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_volume_source.py +++ b/kubernetes/aio/client/models/v1_config_map_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ConfigMapVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_container.py b/kubernetes/aio/client/models/v1_container.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_container.py rename to kubernetes/aio/client/models/v1_container.py index f0d6ca528d..c32fda4386 100644 --- a/kubernetes_asyncio/client/models/v1_container.py +++ b/kubernetes/aio/client/models/v1_container.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Container(object): diff --git a/kubernetes_asyncio/client/models/v1_container_extended_resource_request.py b/kubernetes/aio/client/models/v1_container_extended_resource_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_container_extended_resource_request.py rename to kubernetes/aio/client/models/v1_container_extended_resource_request.py index 7979d16429..dd6ac4c6a9 100644 --- a/kubernetes_asyncio/client/models/v1_container_extended_resource_request.py +++ b/kubernetes/aio/client/models/v1_container_extended_resource_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerExtendedResourceRequest(object): diff --git a/kubernetes_asyncio/client/models/v1_container_image.py b/kubernetes/aio/client/models/v1_container_image.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_image.py rename to kubernetes/aio/client/models/v1_container_image.py index 3d3b39aedd..c0546aab07 100644 --- a/kubernetes_asyncio/client/models/v1_container_image.py +++ b/kubernetes/aio/client/models/v1_container_image.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerImage(object): diff --git a/kubernetes_asyncio/client/models/v1_container_port.py b/kubernetes/aio/client/models/v1_container_port.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_container_port.py rename to kubernetes/aio/client/models/v1_container_port.py index 5d26b2066e..58c426414c 100644 --- a/kubernetes_asyncio/client/models/v1_container_port.py +++ b/kubernetes/aio/client/models/v1_container_port.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerPort(object): diff --git a/kubernetes_asyncio/client/models/v1_container_resize_policy.py b/kubernetes/aio/client/models/v1_container_resize_policy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_resize_policy.py rename to kubernetes/aio/client/models/v1_container_resize_policy.py index 6c9d1a2357..927814bb34 100644 --- a/kubernetes_asyncio/client/models/v1_container_resize_policy.py +++ b/kubernetes/aio/client/models/v1_container_resize_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerResizePolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_container_restart_rule.py b/kubernetes/aio/client/models/v1_container_restart_rule.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_restart_rule.py rename to kubernetes/aio/client/models/v1_container_restart_rule.py index 9acf8530de..243a48851c 100644 --- a/kubernetes_asyncio/client/models/v1_container_restart_rule.py +++ b/kubernetes/aio/client/models/v1_container_restart_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerRestartRule(object): diff --git a/kubernetes_asyncio/client/models/v1_container_restart_rule_on_exit_codes.py b/kubernetes/aio/client/models/v1_container_restart_rule_on_exit_codes.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_restart_rule_on_exit_codes.py rename to kubernetes/aio/client/models/v1_container_restart_rule_on_exit_codes.py index 11188409a7..1af839e555 100644 --- a/kubernetes_asyncio/client/models/v1_container_restart_rule_on_exit_codes.py +++ b/kubernetes/aio/client/models/v1_container_restart_rule_on_exit_codes.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerRestartRuleOnExitCodes(object): diff --git a/kubernetes_asyncio/client/models/v1_container_state.py b/kubernetes/aio/client/models/v1_container_state.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_state.py rename to kubernetes/aio/client/models/v1_container_state.py index 0c57a9ffbd..419f0581a1 100644 --- a/kubernetes_asyncio/client/models/v1_container_state.py +++ b/kubernetes/aio/client/models/v1_container_state.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerState(object): diff --git a/kubernetes_asyncio/client/models/v1_container_state_running.py b/kubernetes/aio/client/models/v1_container_state_running.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_state_running.py rename to kubernetes/aio/client/models/v1_container_state_running.py index 78e5e3f86f..f270224be2 100644 --- a/kubernetes_asyncio/client/models/v1_container_state_running.py +++ b/kubernetes/aio/client/models/v1_container_state_running.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerStateRunning(object): diff --git a/kubernetes_asyncio/client/models/v1_container_state_terminated.py b/kubernetes/aio/client/models/v1_container_state_terminated.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_container_state_terminated.py rename to kubernetes/aio/client/models/v1_container_state_terminated.py index 88a8adf0dc..2841ffc77d 100644 --- a/kubernetes_asyncio/client/models/v1_container_state_terminated.py +++ b/kubernetes/aio/client/models/v1_container_state_terminated.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerStateTerminated(object): diff --git a/kubernetes_asyncio/client/models/v1_container_state_waiting.py b/kubernetes/aio/client/models/v1_container_state_waiting.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_state_waiting.py rename to kubernetes/aio/client/models/v1_container_state_waiting.py index ebefe138a0..8263c53277 100644 --- a/kubernetes_asyncio/client/models/v1_container_state_waiting.py +++ b/kubernetes/aio/client/models/v1_container_state_waiting.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerStateWaiting(object): diff --git a/kubernetes_asyncio/client/models/v1_container_status.py b/kubernetes/aio/client/models/v1_container_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_container_status.py rename to kubernetes/aio/client/models/v1_container_status.py index c3584dde04..51b83b41a3 100644 --- a/kubernetes_asyncio/client/models/v1_container_status.py +++ b/kubernetes/aio/client/models/v1_container_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_container_user.py b/kubernetes/aio/client/models/v1_container_user.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_container_user.py rename to kubernetes/aio/client/models/v1_container_user.py index 3335b656f3..126454bafc 100644 --- a/kubernetes_asyncio/client/models/v1_container_user.py +++ b/kubernetes/aio/client/models/v1_container_user.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ContainerUser(object): diff --git a/kubernetes_asyncio/client/models/v1_controller_revision.py b/kubernetes/aio/client/models/v1_controller_revision.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_controller_revision.py rename to kubernetes/aio/client/models/v1_controller_revision.py index 50cec989b6..216562bb99 100644 --- a/kubernetes_asyncio/client/models/v1_controller_revision.py +++ b/kubernetes/aio/client/models/v1_controller_revision.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ControllerRevision(object): diff --git a/kubernetes_asyncio/client/models/v1_controller_revision_list.py b/kubernetes/aio/client/models/v1_controller_revision_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_controller_revision_list.py rename to kubernetes/aio/client/models/v1_controller_revision_list.py index 3ade9b03c6..7091e928bf 100644 --- a/kubernetes_asyncio/client/models/v1_controller_revision_list.py +++ b/kubernetes/aio/client/models/v1_controller_revision_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ControllerRevisionList(object): diff --git a/kubernetes_asyncio/client/models/v1_counter.py b/kubernetes/aio/client/models/v1_counter.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_counter.py rename to kubernetes/aio/client/models/v1_counter.py index 4ffb9cbbf8..a5b48ab2c3 100644 --- a/kubernetes_asyncio/client/models/v1_counter.py +++ b/kubernetes/aio/client/models/v1_counter.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Counter(object): diff --git a/kubernetes_asyncio/client/models/v1_counter_set.py b/kubernetes/aio/client/models/v1_counter_set.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_counter_set.py rename to kubernetes/aio/client/models/v1_counter_set.py index 3fdae018bc..f3fd614428 100644 --- a/kubernetes_asyncio/client/models/v1_counter_set.py +++ b/kubernetes/aio/client/models/v1_counter_set.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CounterSet(object): diff --git a/kubernetes_asyncio/client/models/v1_cron_job.py b/kubernetes/aio/client/models/v1_cron_job.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cron_job.py rename to kubernetes/aio/client/models/v1_cron_job.py index 337c24c40b..c0f46f162f 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job.py +++ b/kubernetes/aio/client/models/v1_cron_job.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CronJob(object): diff --git a/kubernetes_asyncio/client/models/v1_cron_job_list.py b/kubernetes/aio/client/models/v1_cron_job_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cron_job_list.py rename to kubernetes/aio/client/models/v1_cron_job_list.py index 062b2efaf7..d74cf521f4 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job_list.py +++ b/kubernetes/aio/client/models/v1_cron_job_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CronJobList(object): diff --git a/kubernetes_asyncio/client/models/v1_cron_job_spec.py b/kubernetes/aio/client/models/v1_cron_job_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_cron_job_spec.py rename to kubernetes/aio/client/models/v1_cron_job_spec.py index 8a2aca5631..3600328796 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job_spec.py +++ b/kubernetes/aio/client/models/v1_cron_job_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CronJobSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_cron_job_status.py b/kubernetes/aio/client/models/v1_cron_job_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_cron_job_status.py rename to kubernetes/aio/client/models/v1_cron_job_status.py index b436c6d088..371a301209 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job_status.py +++ b/kubernetes/aio/client/models/v1_cron_job_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CronJobStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_cross_version_object_reference.py b/kubernetes/aio/client/models/v1_cross_version_object_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_cross_version_object_reference.py rename to kubernetes/aio/client/models/v1_cross_version_object_reference.py index eb4bd26581..848edcb3c0 100644 --- a/kubernetes_asyncio/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/aio/client/models/v1_cross_version_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CrossVersionObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_driver.py b/kubernetes/aio/client/models/v1_csi_driver.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_driver.py rename to kubernetes/aio/client/models/v1_csi_driver.py index 409eac0049..e789a7c943 100644 --- a/kubernetes_asyncio/client/models/v1_csi_driver.py +++ b/kubernetes/aio/client/models/v1_csi_driver.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSIDriver(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_driver_list.py b/kubernetes/aio/client/models/v1_csi_driver_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_driver_list.py rename to kubernetes/aio/client/models/v1_csi_driver_list.py index 4c7efc3515..1d64d71556 100644 --- a/kubernetes_asyncio/client/models/v1_csi_driver_list.py +++ b/kubernetes/aio/client/models/v1_csi_driver_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSIDriverList(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_driver_spec.py b/kubernetes/aio/client/models/v1_csi_driver_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_driver_spec.py rename to kubernetes/aio/client/models/v1_csi_driver_spec.py index d2dcfb79db..df6e827ca8 100644 --- a/kubernetes_asyncio/client/models/v1_csi_driver_spec.py +++ b/kubernetes/aio/client/models/v1_csi_driver_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSIDriverSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_node.py b/kubernetes/aio/client/models/v1_csi_node.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_node.py rename to kubernetes/aio/client/models/v1_csi_node.py index 46fe00eeea..77abff708e 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node.py +++ b/kubernetes/aio/client/models/v1_csi_node.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSINode(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_node_driver.py b/kubernetes/aio/client/models/v1_csi_node_driver.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_node_driver.py rename to kubernetes/aio/client/models/v1_csi_node_driver.py index 543a3900e2..84a03b44c8 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node_driver.py +++ b/kubernetes/aio/client/models/v1_csi_node_driver.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSINodeDriver(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_node_list.py b/kubernetes/aio/client/models/v1_csi_node_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_node_list.py rename to kubernetes/aio/client/models/v1_csi_node_list.py index afaa738d68..c680865bfb 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node_list.py +++ b/kubernetes/aio/client/models/v1_csi_node_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSINodeList(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_node_spec.py b/kubernetes/aio/client/models/v1_csi_node_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_csi_node_spec.py rename to kubernetes/aio/client/models/v1_csi_node_spec.py index 228d4448a8..fe94e7c7e1 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node_spec.py +++ b/kubernetes/aio/client/models/v1_csi_node_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSINodeSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_persistent_volume_source.py b/kubernetes/aio/client/models/v1_csi_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_csi_persistent_volume_source.py index 163e9805ee..fb12c19c8d 100644 --- a/kubernetes_asyncio/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_csi_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSIPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_storage_capacity.py b/kubernetes/aio/client/models/v1_csi_storage_capacity.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_storage_capacity.py rename to kubernetes/aio/client/models/v1_csi_storage_capacity.py index 95f4d7b709..20cdacb279 100644 --- a/kubernetes_asyncio/client/models/v1_csi_storage_capacity.py +++ b/kubernetes/aio/client/models/v1_csi_storage_capacity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSIStorageCapacity(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_storage_capacity_list.py b/kubernetes/aio/client/models/v1_csi_storage_capacity_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_storage_capacity_list.py rename to kubernetes/aio/client/models/v1_csi_storage_capacity_list.py index d5f12c9148..5c58317f3b 100644 --- a/kubernetes_asyncio/client/models/v1_csi_storage_capacity_list.py +++ b/kubernetes/aio/client/models/v1_csi_storage_capacity_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSIStorageCapacityList(object): diff --git a/kubernetes_asyncio/client/models/v1_csi_volume_source.py b/kubernetes/aio/client/models/v1_csi_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_csi_volume_source.py rename to kubernetes/aio/client/models/v1_csi_volume_source.py index 423085fa7d..4e6527a6c2 100644 --- a/kubernetes_asyncio/client/models/v1_csi_volume_source.py +++ b/kubernetes/aio/client/models/v1_csi_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CSIVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_column_definition.py b/kubernetes/aio/client/models/v1_custom_resource_column_definition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_column_definition.py rename to kubernetes/aio/client/models/v1_custom_resource_column_definition.py index 9e81d061c0..8d766505f5 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_column_definition.py +++ b/kubernetes/aio/client/models/v1_custom_resource_column_definition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceColumnDefinition(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_conversion.py b/kubernetes/aio/client/models/v1_custom_resource_conversion.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_custom_resource_conversion.py rename to kubernetes/aio/client/models/v1_custom_resource_conversion.py index b89fb15572..faa0cd15f0 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_conversion.py +++ b/kubernetes/aio/client/models/v1_custom_resource_conversion.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceConversion(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition.py b/kubernetes/aio/client/models/v1_custom_resource_definition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_definition.py rename to kubernetes/aio/client/models/v1_custom_resource_definition.py index bba08e6316..2278462b1f 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition.py +++ b/kubernetes/aio/client/models/v1_custom_resource_definition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceDefinition(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_condition.py b/kubernetes/aio/client/models/v1_custom_resource_definition_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_definition_condition.py rename to kubernetes/aio/client/models/v1_custom_resource_definition_condition.py index 835703271c..2e8cd6caf8 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_condition.py +++ b/kubernetes/aio/client/models/v1_custom_resource_definition_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceDefinitionCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_list.py b/kubernetes/aio/client/models/v1_custom_resource_definition_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_definition_list.py rename to kubernetes/aio/client/models/v1_custom_resource_definition_list.py index ea208beda6..e2830a5ba9 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_list.py +++ b/kubernetes/aio/client/models/v1_custom_resource_definition_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceDefinitionList(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_names.py b/kubernetes/aio/client/models/v1_custom_resource_definition_names.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_definition_names.py rename to kubernetes/aio/client/models/v1_custom_resource_definition_names.py index 2b872b831d..1a675c7d82 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_names.py +++ b/kubernetes/aio/client/models/v1_custom_resource_definition_names.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceDefinitionNames(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_spec.py b/kubernetes/aio/client/models/v1_custom_resource_definition_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_definition_spec.py rename to kubernetes/aio/client/models/v1_custom_resource_definition_spec.py index 86a45a7947..454f3c3aa0 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_spec.py +++ b/kubernetes/aio/client/models/v1_custom_resource_definition_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceDefinitionSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_status.py b/kubernetes/aio/client/models/v1_custom_resource_definition_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_definition_status.py rename to kubernetes/aio/client/models/v1_custom_resource_definition_status.py index 07a364821b..da39a79a9d 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_status.py +++ b/kubernetes/aio/client/models/v1_custom_resource_definition_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceDefinitionStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_version.py b/kubernetes/aio/client/models/v1_custom_resource_definition_version.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_definition_version.py rename to kubernetes/aio/client/models/v1_custom_resource_definition_version.py index 7cc1a65271..ec4200e46e 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_version.py +++ b/kubernetes/aio/client/models/v1_custom_resource_definition_version.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceDefinitionVersion(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_subresource_scale.py b/kubernetes/aio/client/models/v1_custom_resource_subresource_scale.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_custom_resource_subresource_scale.py rename to kubernetes/aio/client/models/v1_custom_resource_subresource_scale.py index 6991e72699..993003a902 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_subresource_scale.py +++ b/kubernetes/aio/client/models/v1_custom_resource_subresource_scale.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceSubresourceScale(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_subresources.py b/kubernetes/aio/client/models/v1_custom_resource_subresources.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_custom_resource_subresources.py rename to kubernetes/aio/client/models/v1_custom_resource_subresources.py index b4f2223048..14bc0eaefa 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_subresources.py +++ b/kubernetes/aio/client/models/v1_custom_resource_subresources.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceSubresources(object): diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_validation.py b/kubernetes/aio/client/models/v1_custom_resource_validation.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_custom_resource_validation.py rename to kubernetes/aio/client/models/v1_custom_resource_validation.py index 48d5b8b13c..05bf6a0da5 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_validation.py +++ b/kubernetes/aio/client/models/v1_custom_resource_validation.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1CustomResourceValidation(object): diff --git a/kubernetes_asyncio/client/models/v1_daemon_endpoint.py b/kubernetes/aio/client/models/v1_daemon_endpoint.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_daemon_endpoint.py rename to kubernetes/aio/client/models/v1_daemon_endpoint.py index 79092ba74d..23d60d14c5 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_endpoint.py +++ b/kubernetes/aio/client/models/v1_daemon_endpoint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DaemonEndpoint(object): diff --git a/kubernetes_asyncio/client/models/v1_daemon_set.py b/kubernetes/aio/client/models/v1_daemon_set.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_daemon_set.py rename to kubernetes/aio/client/models/v1_daemon_set.py index 75ace36c62..ad68e2f1a7 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set.py +++ b/kubernetes/aio/client/models/v1_daemon_set.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DaemonSet(object): diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_condition.py b/kubernetes/aio/client/models/v1_daemon_set_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_daemon_set_condition.py rename to kubernetes/aio/client/models/v1_daemon_set_condition.py index c84de8aedb..1627bbaf31 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_condition.py +++ b/kubernetes/aio/client/models/v1_daemon_set_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DaemonSetCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_list.py b/kubernetes/aio/client/models/v1_daemon_set_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_daemon_set_list.py rename to kubernetes/aio/client/models/v1_daemon_set_list.py index e00d6d4aeb..3f2c6ed8d1 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_list.py +++ b/kubernetes/aio/client/models/v1_daemon_set_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DaemonSetList(object): diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_spec.py b/kubernetes/aio/client/models/v1_daemon_set_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_daemon_set_spec.py rename to kubernetes/aio/client/models/v1_daemon_set_spec.py index 8a03a9ac1e..f13731adcf 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_spec.py +++ b/kubernetes/aio/client/models/v1_daemon_set_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DaemonSetSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_status.py b/kubernetes/aio/client/models/v1_daemon_set_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_daemon_set_status.py rename to kubernetes/aio/client/models/v1_daemon_set_status.py index 0076a716e4..4ca6f62bb5 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_status.py +++ b/kubernetes/aio/client/models/v1_daemon_set_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DaemonSetStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_update_strategy.py b/kubernetes/aio/client/models/v1_daemon_set_update_strategy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_daemon_set_update_strategy.py rename to kubernetes/aio/client/models/v1_daemon_set_update_strategy.py index 10c901f87b..85e70ce4c1 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes/aio/client/models/v1_daemon_set_update_strategy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DaemonSetUpdateStrategy(object): diff --git a/kubernetes_asyncio/client/models/v1_delete_options.py b/kubernetes/aio/client/models/v1_delete_options.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_delete_options.py rename to kubernetes/aio/client/models/v1_delete_options.py index 8960117b6f..9dbd297c73 100644 --- a/kubernetes_asyncio/client/models/v1_delete_options.py +++ b/kubernetes/aio/client/models/v1_delete_options.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeleteOptions(object): diff --git a/kubernetes_asyncio/client/models/v1_deployment.py b/kubernetes/aio/client/models/v1_deployment.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_deployment.py rename to kubernetes/aio/client/models/v1_deployment.py index 260f6041f2..bdfd3ebf19 100644 --- a/kubernetes_asyncio/client/models/v1_deployment.py +++ b/kubernetes/aio/client/models/v1_deployment.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Deployment(object): diff --git a/kubernetes_asyncio/client/models/v1_deployment_condition.py b/kubernetes/aio/client/models/v1_deployment_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_deployment_condition.py rename to kubernetes/aio/client/models/v1_deployment_condition.py index 0239ca0fec..e1cd9d21e1 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_condition.py +++ b/kubernetes/aio/client/models/v1_deployment_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeploymentCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_deployment_list.py b/kubernetes/aio/client/models/v1_deployment_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_deployment_list.py rename to kubernetes/aio/client/models/v1_deployment_list.py index 45073250ee..dd7475df2a 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_list.py +++ b/kubernetes/aio/client/models/v1_deployment_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeploymentList(object): diff --git a/kubernetes_asyncio/client/models/v1_deployment_spec.py b/kubernetes/aio/client/models/v1_deployment_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_deployment_spec.py rename to kubernetes/aio/client/models/v1_deployment_spec.py index cacbaf4351..428a9b51d0 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_spec.py +++ b/kubernetes/aio/client/models/v1_deployment_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeploymentSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_deployment_status.py b/kubernetes/aio/client/models/v1_deployment_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_deployment_status.py rename to kubernetes/aio/client/models/v1_deployment_status.py index b6713a7bda..d25edd5768 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_status.py +++ b/kubernetes/aio/client/models/v1_deployment_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeploymentStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_deployment_strategy.py b/kubernetes/aio/client/models/v1_deployment_strategy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_deployment_strategy.py rename to kubernetes/aio/client/models/v1_deployment_strategy.py index 8f52df1b7e..5ff1ac6c38 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_strategy.py +++ b/kubernetes/aio/client/models/v1_deployment_strategy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeploymentStrategy(object): diff --git a/kubernetes_asyncio/client/models/v1_device.py b/kubernetes/aio/client/models/v1_device.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device.py rename to kubernetes/aio/client/models/v1_device.py index 93b9665eef..0b085fea24 100644 --- a/kubernetes_asyncio/client/models/v1_device.py +++ b/kubernetes/aio/client/models/v1_device.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Device(object): diff --git a/kubernetes_asyncio/client/models/v1_device_allocation_configuration.py b/kubernetes/aio/client/models/v1_device_allocation_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_allocation_configuration.py rename to kubernetes/aio/client/models/v1_device_allocation_configuration.py index 2b8d0591f3..aad9a5d7c7 100644 --- a/kubernetes_asyncio/client/models/v1_device_allocation_configuration.py +++ b/kubernetes/aio/client/models/v1_device_allocation_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceAllocationConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_device_allocation_result.py b/kubernetes/aio/client/models/v1_device_allocation_result.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_allocation_result.py rename to kubernetes/aio/client/models/v1_device_allocation_result.py index 974092c292..11d083b585 100644 --- a/kubernetes_asyncio/client/models/v1_device_allocation_result.py +++ b/kubernetes/aio/client/models/v1_device_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceAllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1_device_attribute.py b/kubernetes/aio/client/models/v1_device_attribute.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_attribute.py rename to kubernetes/aio/client/models/v1_device_attribute.py index c50a2870b9..527ae55df6 100644 --- a/kubernetes_asyncio/client/models/v1_device_attribute.py +++ b/kubernetes/aio/client/models/v1_device_attribute.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceAttribute(object): diff --git a/kubernetes_asyncio/client/models/v1_device_capacity.py b/kubernetes/aio/client/models/v1_device_capacity.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_capacity.py rename to kubernetes/aio/client/models/v1_device_capacity.py index a462162ecd..465338ac40 100644 --- a/kubernetes_asyncio/client/models/v1_device_capacity.py +++ b/kubernetes/aio/client/models/v1_device_capacity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceCapacity(object): diff --git a/kubernetes_asyncio/client/models/v1_device_claim.py b/kubernetes/aio/client/models/v1_device_claim.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_claim.py rename to kubernetes/aio/client/models/v1_device_claim.py index 2a9a2c693a..6fec0b2a74 100644 --- a/kubernetes_asyncio/client/models/v1_device_claim.py +++ b/kubernetes/aio/client/models/v1_device_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceClaim(object): diff --git a/kubernetes_asyncio/client/models/v1_device_claim_configuration.py b/kubernetes/aio/client/models/v1_device_claim_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_claim_configuration.py rename to kubernetes/aio/client/models/v1_device_claim_configuration.py index 43a9691448..90599f28e3 100644 --- a/kubernetes_asyncio/client/models/v1_device_claim_configuration.py +++ b/kubernetes/aio/client/models/v1_device_claim_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceClaimConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_device_class.py b/kubernetes/aio/client/models/v1_device_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_class.py rename to kubernetes/aio/client/models/v1_device_class.py index f6ecb29f50..3cfa0f7f7b 100644 --- a/kubernetes_asyncio/client/models/v1_device_class.py +++ b/kubernetes/aio/client/models/v1_device_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceClass(object): diff --git a/kubernetes_asyncio/client/models/v1_device_class_configuration.py b/kubernetes/aio/client/models/v1_device_class_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_class_configuration.py rename to kubernetes/aio/client/models/v1_device_class_configuration.py index 7abc810e9e..02ade6fa54 100644 --- a/kubernetes_asyncio/client/models/v1_device_class_configuration.py +++ b/kubernetes/aio/client/models/v1_device_class_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceClassConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_device_class_list.py b/kubernetes/aio/client/models/v1_device_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_class_list.py rename to kubernetes/aio/client/models/v1_device_class_list.py index 8d11c16708..f703e90e82 100644 --- a/kubernetes_asyncio/client/models/v1_device_class_list.py +++ b/kubernetes/aio/client/models/v1_device_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceClassList(object): diff --git a/kubernetes_asyncio/client/models/v1_device_class_spec.py b/kubernetes/aio/client/models/v1_device_class_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_class_spec.py rename to kubernetes/aio/client/models/v1_device_class_spec.py index 696f2f608d..0c0e752cfb 100644 --- a/kubernetes_asyncio/client/models/v1_device_class_spec.py +++ b/kubernetes/aio/client/models/v1_device_class_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceClassSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_device_constraint.py b/kubernetes/aio/client/models/v1_device_constraint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_constraint.py rename to kubernetes/aio/client/models/v1_device_constraint.py index e3f8b7d56d..eeffd90b49 100644 --- a/kubernetes_asyncio/client/models/v1_device_constraint.py +++ b/kubernetes/aio/client/models/v1_device_constraint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceConstraint(object): diff --git a/kubernetes_asyncio/client/models/v1_device_counter_consumption.py b/kubernetes/aio/client/models/v1_device_counter_consumption.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_counter_consumption.py rename to kubernetes/aio/client/models/v1_device_counter_consumption.py index 4f108e79d6..dee892c79a 100644 --- a/kubernetes_asyncio/client/models/v1_device_counter_consumption.py +++ b/kubernetes/aio/client/models/v1_device_counter_consumption.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceCounterConsumption(object): diff --git a/kubernetes_asyncio/client/models/v1_device_request.py b/kubernetes/aio/client/models/v1_device_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_request.py rename to kubernetes/aio/client/models/v1_device_request.py index 73310551cf..f0f398fde6 100644 --- a/kubernetes_asyncio/client/models/v1_device_request.py +++ b/kubernetes/aio/client/models/v1_device_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceRequest(object): diff --git a/kubernetes_asyncio/client/models/v1_device_request_allocation_result.py b/kubernetes/aio/client/models/v1_device_request_allocation_result.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_request_allocation_result.py rename to kubernetes/aio/client/models/v1_device_request_allocation_result.py index fa284fe55e..bab6c4e628 100644 --- a/kubernetes_asyncio/client/models/v1_device_request_allocation_result.py +++ b/kubernetes/aio/client/models/v1_device_request_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceRequestAllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1_device_selector.py b/kubernetes/aio/client/models/v1_device_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_device_selector.py rename to kubernetes/aio/client/models/v1_device_selector.py index ab93725040..1003c9f6fd 100644 --- a/kubernetes_asyncio/client/models/v1_device_selector.py +++ b/kubernetes/aio/client/models/v1_device_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceSelector(object): diff --git a/kubernetes_asyncio/client/models/v1_device_sub_request.py b/kubernetes/aio/client/models/v1_device_sub_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_sub_request.py rename to kubernetes/aio/client/models/v1_device_sub_request.py index d4a0ae33eb..3803d0b618 100644 --- a/kubernetes_asyncio/client/models/v1_device_sub_request.py +++ b/kubernetes/aio/client/models/v1_device_sub_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceSubRequest(object): diff --git a/kubernetes_asyncio/client/models/v1_device_taint.py b/kubernetes/aio/client/models/v1_device_taint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_taint.py rename to kubernetes/aio/client/models/v1_device_taint.py index 6322b89519..6b4e59bef9 100644 --- a/kubernetes_asyncio/client/models/v1_device_taint.py +++ b/kubernetes/aio/client/models/v1_device_taint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceTaint(object): diff --git a/kubernetes_asyncio/client/models/v1_device_toleration.py b/kubernetes/aio/client/models/v1_device_toleration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_device_toleration.py rename to kubernetes/aio/client/models/v1_device_toleration.py index d4f0cb06d7..cbbb5050a3 100644 --- a/kubernetes_asyncio/client/models/v1_device_toleration.py +++ b/kubernetes/aio/client/models/v1_device_toleration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DeviceToleration(object): diff --git a/kubernetes_asyncio/client/models/v1_downward_api_projection.py b/kubernetes/aio/client/models/v1_downward_api_projection.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_downward_api_projection.py rename to kubernetes/aio/client/models/v1_downward_api_projection.py index 80dd25c783..406903c53f 100644 --- a/kubernetes_asyncio/client/models/v1_downward_api_projection.py +++ b/kubernetes/aio/client/models/v1_downward_api_projection.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DownwardAPIProjection(object): diff --git a/kubernetes_asyncio/client/models/v1_downward_api_volume_file.py b/kubernetes/aio/client/models/v1_downward_api_volume_file.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_downward_api_volume_file.py rename to kubernetes/aio/client/models/v1_downward_api_volume_file.py index 67f7168b02..05eb0b7b3d 100644 --- a/kubernetes_asyncio/client/models/v1_downward_api_volume_file.py +++ b/kubernetes/aio/client/models/v1_downward_api_volume_file.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DownwardAPIVolumeFile(object): diff --git a/kubernetes_asyncio/client/models/v1_downward_api_volume_source.py b/kubernetes/aio/client/models/v1_downward_api_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_downward_api_volume_source.py rename to kubernetes/aio/client/models/v1_downward_api_volume_source.py index f642ad0f59..c1c50d2fae 100644 --- a/kubernetes_asyncio/client/models/v1_downward_api_volume_source.py +++ b/kubernetes/aio/client/models/v1_downward_api_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1DownwardAPIVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_empty_dir_volume_source.py b/kubernetes/aio/client/models/v1_empty_dir_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_empty_dir_volume_source.py rename to kubernetes/aio/client/models/v1_empty_dir_volume_source.py index dfb4b83c55..445a07e1c8 100644 --- a/kubernetes_asyncio/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes/aio/client/models/v1_empty_dir_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EmptyDirVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoint.py b/kubernetes/aio/client/models/v1_endpoint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_endpoint.py rename to kubernetes/aio/client/models/v1_endpoint.py index 82ff8ab12f..edf1fd9ac2 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint.py +++ b/kubernetes/aio/client/models/v1_endpoint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Endpoint(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoint_address.py b/kubernetes/aio/client/models/v1_endpoint_address.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_endpoint_address.py rename to kubernetes/aio/client/models/v1_endpoint_address.py index 10c1629254..9e52a6cd1c 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_address.py +++ b/kubernetes/aio/client/models/v1_endpoint_address.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EndpointAddress(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoint_conditions.py b/kubernetes/aio/client/models/v1_endpoint_conditions.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_endpoint_conditions.py rename to kubernetes/aio/client/models/v1_endpoint_conditions.py index 082e549129..720e2313dc 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_conditions.py +++ b/kubernetes/aio/client/models/v1_endpoint_conditions.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EndpointConditions(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoint_hints.py b/kubernetes/aio/client/models/v1_endpoint_hints.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_endpoint_hints.py rename to kubernetes/aio/client/models/v1_endpoint_hints.py index 76a8109b33..856ee61687 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_hints.py +++ b/kubernetes/aio/client/models/v1_endpoint_hints.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EndpointHints(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoint_slice.py b/kubernetes/aio/client/models/v1_endpoint_slice.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_endpoint_slice.py rename to kubernetes/aio/client/models/v1_endpoint_slice.py index 95221ee03f..6d45725b2e 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_slice.py +++ b/kubernetes/aio/client/models/v1_endpoint_slice.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EndpointSlice(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoint_slice_list.py b/kubernetes/aio/client/models/v1_endpoint_slice_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_endpoint_slice_list.py rename to kubernetes/aio/client/models/v1_endpoint_slice_list.py index 47490881af..3bad13b519 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_slice_list.py +++ b/kubernetes/aio/client/models/v1_endpoint_slice_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EndpointSliceList(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoint_subset.py b/kubernetes/aio/client/models/v1_endpoint_subset.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_endpoint_subset.py rename to kubernetes/aio/client/models/v1_endpoint_subset.py index adb83a3ee1..bdc6a65b32 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_subset.py +++ b/kubernetes/aio/client/models/v1_endpoint_subset.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EndpointSubset(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoints.py b/kubernetes/aio/client/models/v1_endpoints.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_endpoints.py rename to kubernetes/aio/client/models/v1_endpoints.py index b20399d2d4..f571f3ec6c 100644 --- a/kubernetes_asyncio/client/models/v1_endpoints.py +++ b/kubernetes/aio/client/models/v1_endpoints.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Endpoints(object): diff --git a/kubernetes_asyncio/client/models/v1_endpoints_list.py b/kubernetes/aio/client/models/v1_endpoints_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_endpoints_list.py rename to kubernetes/aio/client/models/v1_endpoints_list.py index 4788a2c06f..8eb98f88bd 100644 --- a/kubernetes_asyncio/client/models/v1_endpoints_list.py +++ b/kubernetes/aio/client/models/v1_endpoints_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EndpointsList(object): diff --git a/kubernetes_asyncio/client/models/v1_env_from_source.py b/kubernetes/aio/client/models/v1_env_from_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_env_from_source.py rename to kubernetes/aio/client/models/v1_env_from_source.py index ac7a1af3da..ec16d72f81 100644 --- a/kubernetes_asyncio/client/models/v1_env_from_source.py +++ b/kubernetes/aio/client/models/v1_env_from_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EnvFromSource(object): diff --git a/kubernetes_asyncio/client/models/v1_env_var.py b/kubernetes/aio/client/models/v1_env_var.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_env_var.py rename to kubernetes/aio/client/models/v1_env_var.py index f27e22b19c..99f47c1f6e 100644 --- a/kubernetes_asyncio/client/models/v1_env_var.py +++ b/kubernetes/aio/client/models/v1_env_var.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EnvVar(object): diff --git a/kubernetes_asyncio/client/models/v1_env_var_source.py b/kubernetes/aio/client/models/v1_env_var_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_env_var_source.py rename to kubernetes/aio/client/models/v1_env_var_source.py index 9d0cdd4138..4dc8eb5f27 100644 --- a/kubernetes_asyncio/client/models/v1_env_var_source.py +++ b/kubernetes/aio/client/models/v1_env_var_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EnvVarSource(object): diff --git a/kubernetes_asyncio/client/models/v1_ephemeral_container.py b/kubernetes/aio/client/models/v1_ephemeral_container.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ephemeral_container.py rename to kubernetes/aio/client/models/v1_ephemeral_container.py index 11cbd88fc5..e03b5aba77 100644 --- a/kubernetes_asyncio/client/models/v1_ephemeral_container.py +++ b/kubernetes/aio/client/models/v1_ephemeral_container.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EphemeralContainer(object): diff --git a/kubernetes_asyncio/client/models/v1_ephemeral_volume_source.py b/kubernetes/aio/client/models/v1_ephemeral_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ephemeral_volume_source.py rename to kubernetes/aio/client/models/v1_ephemeral_volume_source.py index 8a856d293c..a9a2b6a456 100644 --- a/kubernetes_asyncio/client/models/v1_ephemeral_volume_source.py +++ b/kubernetes/aio/client/models/v1_ephemeral_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EphemeralVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_event_source.py b/kubernetes/aio/client/models/v1_event_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_event_source.py rename to kubernetes/aio/client/models/v1_event_source.py index e32a835fd6..10e251c36d 100644 --- a/kubernetes_asyncio/client/models/v1_event_source.py +++ b/kubernetes/aio/client/models/v1_event_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1EventSource(object): diff --git a/kubernetes_asyncio/client/models/v1_eviction.py b/kubernetes/aio/client/models/v1_eviction.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_eviction.py rename to kubernetes/aio/client/models/v1_eviction.py index 16eed87993..283d178694 100644 --- a/kubernetes_asyncio/client/models/v1_eviction.py +++ b/kubernetes/aio/client/models/v1_eviction.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Eviction(object): diff --git a/kubernetes_asyncio/client/models/v1_exact_device_request.py b/kubernetes/aio/client/models/v1_exact_device_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_exact_device_request.py rename to kubernetes/aio/client/models/v1_exact_device_request.py index 4e54bc9f0e..ed717a38e5 100644 --- a/kubernetes_asyncio/client/models/v1_exact_device_request.py +++ b/kubernetes/aio/client/models/v1_exact_device_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ExactDeviceRequest(object): diff --git a/kubernetes_asyncio/client/models/v1_exec_action.py b/kubernetes/aio/client/models/v1_exec_action.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_exec_action.py rename to kubernetes/aio/client/models/v1_exec_action.py index 4023fe559e..7c23a92894 100644 --- a/kubernetes_asyncio/client/models/v1_exec_action.py +++ b/kubernetes/aio/client/models/v1_exec_action.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ExecAction(object): diff --git a/kubernetes_asyncio/client/models/v1_exempt_priority_level_configuration.py b/kubernetes/aio/client/models/v1_exempt_priority_level_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_exempt_priority_level_configuration.py rename to kubernetes/aio/client/models/v1_exempt_priority_level_configuration.py index f0c88fa64c..ea04e0d956 100644 --- a/kubernetes_asyncio/client/models/v1_exempt_priority_level_configuration.py +++ b/kubernetes/aio/client/models/v1_exempt_priority_level_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ExemptPriorityLevelConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_expression_warning.py b/kubernetes/aio/client/models/v1_expression_warning.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_expression_warning.py rename to kubernetes/aio/client/models/v1_expression_warning.py index b0134eb156..78247a5c6f 100644 --- a/kubernetes_asyncio/client/models/v1_expression_warning.py +++ b/kubernetes/aio/client/models/v1_expression_warning.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ExpressionWarning(object): diff --git a/kubernetes_asyncio/client/models/v1_external_documentation.py b/kubernetes/aio/client/models/v1_external_documentation.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_external_documentation.py rename to kubernetes/aio/client/models/v1_external_documentation.py index bc66f8ff7a..4521622250 100644 --- a/kubernetes_asyncio/client/models/v1_external_documentation.py +++ b/kubernetes/aio/client/models/v1_external_documentation.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ExternalDocumentation(object): diff --git a/kubernetes_asyncio/client/models/v1_fc_volume_source.py b/kubernetes/aio/client/models/v1_fc_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_fc_volume_source.py rename to kubernetes/aio/client/models/v1_fc_volume_source.py index bd2372463e..7eea5c2269 100644 --- a/kubernetes_asyncio/client/models/v1_fc_volume_source.py +++ b/kubernetes/aio/client/models/v1_fc_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FCVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_field_selector_attributes.py b/kubernetes/aio/client/models/v1_field_selector_attributes.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_field_selector_attributes.py rename to kubernetes/aio/client/models/v1_field_selector_attributes.py index a9f64760fc..def9ed61db 100644 --- a/kubernetes_asyncio/client/models/v1_field_selector_attributes.py +++ b/kubernetes/aio/client/models/v1_field_selector_attributes.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FieldSelectorAttributes(object): diff --git a/kubernetes_asyncio/client/models/v1_field_selector_requirement.py b/kubernetes/aio/client/models/v1_field_selector_requirement.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_field_selector_requirement.py rename to kubernetes/aio/client/models/v1_field_selector_requirement.py index 9a48e6758f..0afc9943c9 100644 --- a/kubernetes_asyncio/client/models/v1_field_selector_requirement.py +++ b/kubernetes/aio/client/models/v1_field_selector_requirement.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FieldSelectorRequirement(object): diff --git a/kubernetes_asyncio/client/models/v1_file_key_selector.py b/kubernetes/aio/client/models/v1_file_key_selector.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_file_key_selector.py rename to kubernetes/aio/client/models/v1_file_key_selector.py index 828d96f3e4..ae91336579 100644 --- a/kubernetes_asyncio/client/models/v1_file_key_selector.py +++ b/kubernetes/aio/client/models/v1_file_key_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FileKeySelector(object): diff --git a/kubernetes_asyncio/client/models/v1_flex_persistent_volume_source.py b/kubernetes/aio/client/models/v1_flex_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_flex_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_flex_persistent_volume_source.py index 4626d3e80b..4c47b7359f 100644 --- a/kubernetes_asyncio/client/models/v1_flex_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_flex_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlexPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_flex_volume_source.py b/kubernetes/aio/client/models/v1_flex_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_flex_volume_source.py rename to kubernetes/aio/client/models/v1_flex_volume_source.py index 7356b20a44..4cf4416885 100644 --- a/kubernetes_asyncio/client/models/v1_flex_volume_source.py +++ b/kubernetes/aio/client/models/v1_flex_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlexVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_flocker_volume_source.py b/kubernetes/aio/client/models/v1_flocker_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_flocker_volume_source.py rename to kubernetes/aio/client/models/v1_flocker_volume_source.py index f9d6ca6bd2..cd3d4bffde 100644 --- a/kubernetes_asyncio/client/models/v1_flocker_volume_source.py +++ b/kubernetes/aio/client/models/v1_flocker_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlockerVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_flow_distinguisher_method.py b/kubernetes/aio/client/models/v1_flow_distinguisher_method.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_flow_distinguisher_method.py rename to kubernetes/aio/client/models/v1_flow_distinguisher_method.py index e33d64a20f..40ac6ce928 100644 --- a/kubernetes_asyncio/client/models/v1_flow_distinguisher_method.py +++ b/kubernetes/aio/client/models/v1_flow_distinguisher_method.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlowDistinguisherMethod(object): diff --git a/kubernetes_asyncio/client/models/v1_flow_schema.py b/kubernetes/aio/client/models/v1_flow_schema.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_flow_schema.py rename to kubernetes/aio/client/models/v1_flow_schema.py index 875c5e4940..f4946f7a16 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema.py +++ b/kubernetes/aio/client/models/v1_flow_schema.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlowSchema(object): diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_condition.py b/kubernetes/aio/client/models/v1_flow_schema_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_flow_schema_condition.py rename to kubernetes/aio/client/models/v1_flow_schema_condition.py index 1725a16393..e6a9a50a1a 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_condition.py +++ b/kubernetes/aio/client/models/v1_flow_schema_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlowSchemaCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_list.py b/kubernetes/aio/client/models/v1_flow_schema_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_flow_schema_list.py rename to kubernetes/aio/client/models/v1_flow_schema_list.py index 43bf12f76d..60070ed842 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_list.py +++ b/kubernetes/aio/client/models/v1_flow_schema_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlowSchemaList(object): diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_spec.py b/kubernetes/aio/client/models/v1_flow_schema_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_flow_schema_spec.py rename to kubernetes/aio/client/models/v1_flow_schema_spec.py index 80d1fab6d1..45687aee36 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_spec.py +++ b/kubernetes/aio/client/models/v1_flow_schema_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlowSchemaSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_status.py b/kubernetes/aio/client/models/v1_flow_schema_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_flow_schema_status.py rename to kubernetes/aio/client/models/v1_flow_schema_status.py index deec2ea2a2..65fd980a95 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_status.py +++ b/kubernetes/aio/client/models/v1_flow_schema_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1FlowSchemaStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_for_node.py b/kubernetes/aio/client/models/v1_for_node.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_for_node.py rename to kubernetes/aio/client/models/v1_for_node.py index 0abd59544e..2e647f763c 100644 --- a/kubernetes_asyncio/client/models/v1_for_node.py +++ b/kubernetes/aio/client/models/v1_for_node.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ForNode(object): diff --git a/kubernetes_asyncio/client/models/v1_for_zone.py b/kubernetes/aio/client/models/v1_for_zone.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_for_zone.py rename to kubernetes/aio/client/models/v1_for_zone.py index 404b38b133..6b06cf5a62 100644 --- a/kubernetes_asyncio/client/models/v1_for_zone.py +++ b/kubernetes/aio/client/models/v1_for_zone.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ForZone(object): diff --git a/kubernetes_asyncio/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/aio/client/models/v1_gce_persistent_disk_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_gce_persistent_disk_volume_source.py rename to kubernetes/aio/client/models/v1_gce_persistent_disk_volume_source.py index 945ad37eb9..6696c94b74 100644 --- a/kubernetes_asyncio/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/aio/client/models/v1_gce_persistent_disk_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GCEPersistentDiskVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_git_repo_volume_source.py b/kubernetes/aio/client/models/v1_git_repo_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_git_repo_volume_source.py rename to kubernetes/aio/client/models/v1_git_repo_volume_source.py index d4da788f8e..4432a705e4 100644 --- a/kubernetes_asyncio/client/models/v1_git_repo_volume_source.py +++ b/kubernetes/aio/client/models/v1_git_repo_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GitRepoVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_glusterfs_persistent_volume_source.py b/kubernetes/aio/client/models/v1_glusterfs_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_glusterfs_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_glusterfs_persistent_volume_source.py index 8488ec97f7..7012bdb9d8 100644 --- a/kubernetes_asyncio/client/models/v1_glusterfs_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_glusterfs_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GlusterfsPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_glusterfs_volume_source.py b/kubernetes/aio/client/models/v1_glusterfs_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_glusterfs_volume_source.py rename to kubernetes/aio/client/models/v1_glusterfs_volume_source.py index 83cf0d3619..81b8de3470 100644 --- a/kubernetes_asyncio/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes/aio/client/models/v1_glusterfs_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GlusterfsVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_group_resource.py b/kubernetes/aio/client/models/v1_group_resource.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_group_resource.py rename to kubernetes/aio/client/models/v1_group_resource.py index 4c2b26c68a..d7c912f001 100644 --- a/kubernetes_asyncio/client/models/v1_group_resource.py +++ b/kubernetes/aio/client/models/v1_group_resource.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GroupResource(object): diff --git a/kubernetes_asyncio/client/models/v1_group_subject.py b/kubernetes/aio/client/models/v1_group_subject.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_group_subject.py rename to kubernetes/aio/client/models/v1_group_subject.py index 846b31ced4..ad23db4ae5 100644 --- a/kubernetes_asyncio/client/models/v1_group_subject.py +++ b/kubernetes/aio/client/models/v1_group_subject.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GroupSubject(object): diff --git a/kubernetes_asyncio/client/models/v1_group_version_for_discovery.py b/kubernetes/aio/client/models/v1_group_version_for_discovery.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_group_version_for_discovery.py rename to kubernetes/aio/client/models/v1_group_version_for_discovery.py index a63b0b083b..2ed2cb024d 100644 --- a/kubernetes_asyncio/client/models/v1_group_version_for_discovery.py +++ b/kubernetes/aio/client/models/v1_group_version_for_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GroupVersionForDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v1_grpc_action.py b/kubernetes/aio/client/models/v1_grpc_action.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_grpc_action.py rename to kubernetes/aio/client/models/v1_grpc_action.py index 14dcdc02cf..2477acb5d5 100644 --- a/kubernetes_asyncio/client/models/v1_grpc_action.py +++ b/kubernetes/aio/client/models/v1_grpc_action.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1GRPCAction(object): diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler.py rename to kubernetes/aio/client/models/v1_horizontal_pod_autoscaler.py index 7d96de7e07..e76dde4b61 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HorizontalPodAutoscaler(object): diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_list.py rename to kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_list.py index 25a5fe096a..8332d3453c 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HorizontalPodAutoscalerList(object): diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_spec.py rename to kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_spec.py index 5b887f3d0a..a7715451e4 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HorizontalPodAutoscalerSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_status.py rename to kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_status.py index b975fe0afd..b2eafbdf7c 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/aio/client/models/v1_horizontal_pod_autoscaler_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HorizontalPodAutoscalerStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_host_alias.py b/kubernetes/aio/client/models/v1_host_alias.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_host_alias.py rename to kubernetes/aio/client/models/v1_host_alias.py index 012f9a5406..f1fbc29e89 100644 --- a/kubernetes_asyncio/client/models/v1_host_alias.py +++ b/kubernetes/aio/client/models/v1_host_alias.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HostAlias(object): diff --git a/kubernetes_asyncio/client/models/v1_host_ip.py b/kubernetes/aio/client/models/v1_host_ip.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_host_ip.py rename to kubernetes/aio/client/models/v1_host_ip.py index f4e0619ec2..724e59cce8 100644 --- a/kubernetes_asyncio/client/models/v1_host_ip.py +++ b/kubernetes/aio/client/models/v1_host_ip.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HostIP(object): diff --git a/kubernetes_asyncio/client/models/v1_host_path_volume_source.py b/kubernetes/aio/client/models/v1_host_path_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_host_path_volume_source.py rename to kubernetes/aio/client/models/v1_host_path_volume_source.py index 0bbdaa59f4..e69a2288ed 100644 --- a/kubernetes_asyncio/client/models/v1_host_path_volume_source.py +++ b/kubernetes/aio/client/models/v1_host_path_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HostPathVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_http_get_action.py b/kubernetes/aio/client/models/v1_http_get_action.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_http_get_action.py rename to kubernetes/aio/client/models/v1_http_get_action.py index 248fc2bcd5..8a7e8927f1 100644 --- a/kubernetes_asyncio/client/models/v1_http_get_action.py +++ b/kubernetes/aio/client/models/v1_http_get_action.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HTTPGetAction(object): diff --git a/kubernetes_asyncio/client/models/v1_http_header.py b/kubernetes/aio/client/models/v1_http_header.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_http_header.py rename to kubernetes/aio/client/models/v1_http_header.py index 31e9d9f1a7..ee395e4025 100644 --- a/kubernetes_asyncio/client/models/v1_http_header.py +++ b/kubernetes/aio/client/models/v1_http_header.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HTTPHeader(object): diff --git a/kubernetes_asyncio/client/models/v1_http_ingress_path.py b/kubernetes/aio/client/models/v1_http_ingress_path.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_http_ingress_path.py rename to kubernetes/aio/client/models/v1_http_ingress_path.py index 93a3132f92..f9148d3742 100644 --- a/kubernetes_asyncio/client/models/v1_http_ingress_path.py +++ b/kubernetes/aio/client/models/v1_http_ingress_path.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HTTPIngressPath(object): diff --git a/kubernetes_asyncio/client/models/v1_http_ingress_rule_value.py b/kubernetes/aio/client/models/v1_http_ingress_rule_value.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_http_ingress_rule_value.py rename to kubernetes/aio/client/models/v1_http_ingress_rule_value.py index d7a55ff9c7..4ce62724ef 100644 --- a/kubernetes_asyncio/client/models/v1_http_ingress_rule_value.py +++ b/kubernetes/aio/client/models/v1_http_ingress_rule_value.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1HTTPIngressRuleValue(object): diff --git a/kubernetes_asyncio/client/models/v1_image_volume_source.py b/kubernetes/aio/client/models/v1_image_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_image_volume_source.py rename to kubernetes/aio/client/models/v1_image_volume_source.py index 500f208872..def0054520 100644 --- a/kubernetes_asyncio/client/models/v1_image_volume_source.py +++ b/kubernetes/aio/client/models/v1_image_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ImageVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_image_volume_status.py b/kubernetes/aio/client/models/v1_image_volume_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_image_volume_status.py rename to kubernetes/aio/client/models/v1_image_volume_status.py index 6ba9f9e8f0..be29b043b0 100644 --- a/kubernetes_asyncio/client/models/v1_image_volume_status.py +++ b/kubernetes/aio/client/models/v1_image_volume_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ImageVolumeStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress.py b/kubernetes/aio/client/models/v1_ingress.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ingress.py rename to kubernetes/aio/client/models/v1_ingress.py index 012f23c006..19d4026b57 100644 --- a/kubernetes_asyncio/client/models/v1_ingress.py +++ b/kubernetes/aio/client/models/v1_ingress.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Ingress(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_backend.py b/kubernetes/aio/client/models/v1_ingress_backend.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_backend.py rename to kubernetes/aio/client/models/v1_ingress_backend.py index 501efda8d2..6463b45e51 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_backend.py +++ b/kubernetes/aio/client/models/v1_ingress_backend.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressBackend(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_class.py b/kubernetes/aio/client/models/v1_ingress_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ingress_class.py rename to kubernetes/aio/client/models/v1_ingress_class.py index ce9e0caa46..27cc889801 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class.py +++ b/kubernetes/aio/client/models/v1_ingress_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressClass(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_class_list.py b/kubernetes/aio/client/models/v1_ingress_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ingress_class_list.py rename to kubernetes/aio/client/models/v1_ingress_class_list.py index 2b2c177d37..ffeb45dd19 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class_list.py +++ b/kubernetes/aio/client/models/v1_ingress_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressClassList(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_class_parameters_reference.py b/kubernetes/aio/client/models/v1_ingress_class_parameters_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ingress_class_parameters_reference.py rename to kubernetes/aio/client/models/v1_ingress_class_parameters_reference.py index c1cdb14aa3..3c2f1d8a29 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class_parameters_reference.py +++ b/kubernetes/aio/client/models/v1_ingress_class_parameters_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressClassParametersReference(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_class_spec.py b/kubernetes/aio/client/models/v1_ingress_class_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_class_spec.py rename to kubernetes/aio/client/models/v1_ingress_class_spec.py index 9517e7192e..58389c54a7 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class_spec.py +++ b/kubernetes/aio/client/models/v1_ingress_class_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressClassSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_list.py b/kubernetes/aio/client/models/v1_ingress_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ingress_list.py rename to kubernetes/aio/client/models/v1_ingress_list.py index 2cf5fa9271..2a01a1bfaa 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_list.py +++ b/kubernetes/aio/client/models/v1_ingress_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressList(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_ingress.py b/kubernetes/aio/client/models/v1_ingress_load_balancer_ingress.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_load_balancer_ingress.py rename to kubernetes/aio/client/models/v1_ingress_load_balancer_ingress.py index 602168a7fc..e0899bf874 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_ingress.py +++ b/kubernetes/aio/client/models/v1_ingress_load_balancer_ingress.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressLoadBalancerIngress(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_status.py b/kubernetes/aio/client/models/v1_ingress_load_balancer_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_load_balancer_status.py rename to kubernetes/aio/client/models/v1_ingress_load_balancer_status.py index 339ca2712c..755dc1ade8 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_status.py +++ b/kubernetes/aio/client/models/v1_ingress_load_balancer_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressLoadBalancerStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_port_status.py b/kubernetes/aio/client/models/v1_ingress_port_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_port_status.py rename to kubernetes/aio/client/models/v1_ingress_port_status.py index 5e8d92e75d..cfa49f9672 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_port_status.py +++ b/kubernetes/aio/client/models/v1_ingress_port_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressPortStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_rule.py b/kubernetes/aio/client/models/v1_ingress_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ingress_rule.py rename to kubernetes/aio/client/models/v1_ingress_rule.py index 1426853e19..06bf9b74d6 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_rule.py +++ b/kubernetes/aio/client/models/v1_ingress_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressRule(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_service_backend.py b/kubernetes/aio/client/models/v1_ingress_service_backend.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_service_backend.py rename to kubernetes/aio/client/models/v1_ingress_service_backend.py index aa8fbcfdbb..5d9fae977c 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_service_backend.py +++ b/kubernetes/aio/client/models/v1_ingress_service_backend.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressServiceBackend(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_spec.py b/kubernetes/aio/client/models/v1_ingress_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ingress_spec.py rename to kubernetes/aio/client/models/v1_ingress_spec.py index 8406dd1a02..0b7bf54db1 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_spec.py +++ b/kubernetes/aio/client/models/v1_ingress_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_status.py b/kubernetes/aio/client/models/v1_ingress_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_status.py rename to kubernetes/aio/client/models/v1_ingress_status.py index 21adc8e3d9..9ac4c29030 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_status.py +++ b/kubernetes/aio/client/models/v1_ingress_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_ingress_tls.py b/kubernetes/aio/client/models/v1_ingress_tls.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ingress_tls.py rename to kubernetes/aio/client/models/v1_ingress_tls.py index 80a0a07390..324ff8b6b5 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_tls.py +++ b/kubernetes/aio/client/models/v1_ingress_tls.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IngressTLS(object): diff --git a/kubernetes_asyncio/client/models/v1_ip_address.py b/kubernetes/aio/client/models/v1_ip_address.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ip_address.py rename to kubernetes/aio/client/models/v1_ip_address.py index 8aeea0e6a9..865d768337 100644 --- a/kubernetes_asyncio/client/models/v1_ip_address.py +++ b/kubernetes/aio/client/models/v1_ip_address.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IPAddress(object): diff --git a/kubernetes_asyncio/client/models/v1_ip_address_list.py b/kubernetes/aio/client/models/v1_ip_address_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_ip_address_list.py rename to kubernetes/aio/client/models/v1_ip_address_list.py index 13f31794f0..719ee792fd 100644 --- a/kubernetes_asyncio/client/models/v1_ip_address_list.py +++ b/kubernetes/aio/client/models/v1_ip_address_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IPAddressList(object): diff --git a/kubernetes_asyncio/client/models/v1_ip_address_spec.py b/kubernetes/aio/client/models/v1_ip_address_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ip_address_spec.py rename to kubernetes/aio/client/models/v1_ip_address_spec.py index 9dc266a529..a6cf4841c6 100644 --- a/kubernetes_asyncio/client/models/v1_ip_address_spec.py +++ b/kubernetes/aio/client/models/v1_ip_address_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IPAddressSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_ip_block.py b/kubernetes/aio/client/models/v1_ip_block.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_ip_block.py rename to kubernetes/aio/client/models/v1_ip_block.py index b9f9ff364b..bec19e8f42 100644 --- a/kubernetes_asyncio/client/models/v1_ip_block.py +++ b/kubernetes/aio/client/models/v1_ip_block.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1IPBlock(object): diff --git a/kubernetes_asyncio/client/models/v1_iscsi_persistent_volume_source.py b/kubernetes/aio/client/models/v1_iscsi_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_iscsi_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_iscsi_persistent_volume_source.py index 638540ce5c..6c1962a947 100644 --- a/kubernetes_asyncio/client/models/v1_iscsi_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_iscsi_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ISCSIPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_iscsi_volume_source.py b/kubernetes/aio/client/models/v1_iscsi_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_iscsi_volume_source.py rename to kubernetes/aio/client/models/v1_iscsi_volume_source.py index cf7753c6aa..31864b4070 100644 --- a/kubernetes_asyncio/client/models/v1_iscsi_volume_source.py +++ b/kubernetes/aio/client/models/v1_iscsi_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ISCSIVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_job.py b/kubernetes/aio/client/models/v1_job.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_job.py rename to kubernetes/aio/client/models/v1_job.py index 6c0937b45f..5bfd2d676f 100644 --- a/kubernetes_asyncio/client/models/v1_job.py +++ b/kubernetes/aio/client/models/v1_job.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Job(object): diff --git a/kubernetes_asyncio/client/models/v1_job_condition.py b/kubernetes/aio/client/models/v1_job_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_job_condition.py rename to kubernetes/aio/client/models/v1_job_condition.py index 2bb9154b49..550e8aefe5 100644 --- a/kubernetes_asyncio/client/models/v1_job_condition.py +++ b/kubernetes/aio/client/models/v1_job_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1JobCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_job_list.py b/kubernetes/aio/client/models/v1_job_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_job_list.py rename to kubernetes/aio/client/models/v1_job_list.py index 38e805c7be..bcb206bcba 100644 --- a/kubernetes_asyncio/client/models/v1_job_list.py +++ b/kubernetes/aio/client/models/v1_job_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1JobList(object): diff --git a/kubernetes_asyncio/client/models/v1_job_spec.py b/kubernetes/aio/client/models/v1_job_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_job_spec.py rename to kubernetes/aio/client/models/v1_job_spec.py index 2bcd1870b5..e42b2c7157 100644 --- a/kubernetes_asyncio/client/models/v1_job_spec.py +++ b/kubernetes/aio/client/models/v1_job_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1JobSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_job_status.py b/kubernetes/aio/client/models/v1_job_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_job_status.py rename to kubernetes/aio/client/models/v1_job_status.py index 6e1df01a7d..76ab78e44c 100644 --- a/kubernetes_asyncio/client/models/v1_job_status.py +++ b/kubernetes/aio/client/models/v1_job_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1JobStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_job_template_spec.py b/kubernetes/aio/client/models/v1_job_template_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_job_template_spec.py rename to kubernetes/aio/client/models/v1_job_template_spec.py index 56e92e6fa5..ce67f1fcfb 100644 --- a/kubernetes_asyncio/client/models/v1_job_template_spec.py +++ b/kubernetes/aio/client/models/v1_job_template_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1JobTemplateSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_json_patch.py b/kubernetes/aio/client/models/v1_json_patch.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_json_patch.py rename to kubernetes/aio/client/models/v1_json_patch.py index beebc3ea42..8d7ff7db73 100644 --- a/kubernetes_asyncio/client/models/v1_json_patch.py +++ b/kubernetes/aio/client/models/v1_json_patch.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1JSONPatch(object): diff --git a/kubernetes_asyncio/client/models/v1_json_schema_props.py b/kubernetes/aio/client/models/v1_json_schema_props.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_json_schema_props.py rename to kubernetes/aio/client/models/v1_json_schema_props.py index c459df385b..c417d4bacc 100644 --- a/kubernetes_asyncio/client/models/v1_json_schema_props.py +++ b/kubernetes/aio/client/models/v1_json_schema_props.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1JSONSchemaProps(object): diff --git a/kubernetes_asyncio/client/models/v1_key_to_path.py b/kubernetes/aio/client/models/v1_key_to_path.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_key_to_path.py rename to kubernetes/aio/client/models/v1_key_to_path.py index 2e09d21f6b..4364efc811 100644 --- a/kubernetes_asyncio/client/models/v1_key_to_path.py +++ b/kubernetes/aio/client/models/v1_key_to_path.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1KeyToPath(object): diff --git a/kubernetes_asyncio/client/models/v1_label_selector.py b/kubernetes/aio/client/models/v1_label_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_label_selector.py rename to kubernetes/aio/client/models/v1_label_selector.py index 10e004f538..470afbad79 100644 --- a/kubernetes_asyncio/client/models/v1_label_selector.py +++ b/kubernetes/aio/client/models/v1_label_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LabelSelector(object): diff --git a/kubernetes_asyncio/client/models/v1_label_selector_attributes.py b/kubernetes/aio/client/models/v1_label_selector_attributes.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_label_selector_attributes.py rename to kubernetes/aio/client/models/v1_label_selector_attributes.py index d62b48cbc0..dba3212073 100644 --- a/kubernetes_asyncio/client/models/v1_label_selector_attributes.py +++ b/kubernetes/aio/client/models/v1_label_selector_attributes.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LabelSelectorAttributes(object): diff --git a/kubernetes_asyncio/client/models/v1_label_selector_requirement.py b/kubernetes/aio/client/models/v1_label_selector_requirement.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_label_selector_requirement.py rename to kubernetes/aio/client/models/v1_label_selector_requirement.py index 3da73df7cf..b665796ff4 100644 --- a/kubernetes_asyncio/client/models/v1_label_selector_requirement.py +++ b/kubernetes/aio/client/models/v1_label_selector_requirement.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LabelSelectorRequirement(object): diff --git a/kubernetes_asyncio/client/models/v1_lease.py b/kubernetes/aio/client/models/v1_lease.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_lease.py rename to kubernetes/aio/client/models/v1_lease.py index cc558a1d52..74969981e9 100644 --- a/kubernetes_asyncio/client/models/v1_lease.py +++ b/kubernetes/aio/client/models/v1_lease.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Lease(object): diff --git a/kubernetes_asyncio/client/models/v1_lease_list.py b/kubernetes/aio/client/models/v1_lease_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_lease_list.py rename to kubernetes/aio/client/models/v1_lease_list.py index 23df58daa4..ffa9c86092 100644 --- a/kubernetes_asyncio/client/models/v1_lease_list.py +++ b/kubernetes/aio/client/models/v1_lease_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LeaseList(object): diff --git a/kubernetes_asyncio/client/models/v1_lease_spec.py b/kubernetes/aio/client/models/v1_lease_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_lease_spec.py rename to kubernetes/aio/client/models/v1_lease_spec.py index 941a8d5353..b29af4d4e1 100644 --- a/kubernetes_asyncio/client/models/v1_lease_spec.py +++ b/kubernetes/aio/client/models/v1_lease_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LeaseSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_lifecycle.py b/kubernetes/aio/client/models/v1_lifecycle.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_lifecycle.py rename to kubernetes/aio/client/models/v1_lifecycle.py index 9c25009fd7..35ff3324d2 100644 --- a/kubernetes_asyncio/client/models/v1_lifecycle.py +++ b/kubernetes/aio/client/models/v1_lifecycle.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Lifecycle(object): diff --git a/kubernetes_asyncio/client/models/v1_lifecycle_handler.py b/kubernetes/aio/client/models/v1_lifecycle_handler.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_lifecycle_handler.py rename to kubernetes/aio/client/models/v1_lifecycle_handler.py index 8efdc1f007..2710ab433c 100644 --- a/kubernetes_asyncio/client/models/v1_lifecycle_handler.py +++ b/kubernetes/aio/client/models/v1_lifecycle_handler.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LifecycleHandler(object): diff --git a/kubernetes_asyncio/client/models/v1_limit_range.py b/kubernetes/aio/client/models/v1_limit_range.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_limit_range.py rename to kubernetes/aio/client/models/v1_limit_range.py index 2c98bda25b..e163f08bcd 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range.py +++ b/kubernetes/aio/client/models/v1_limit_range.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LimitRange(object): diff --git a/kubernetes_asyncio/client/models/v1_limit_range_item.py b/kubernetes/aio/client/models/v1_limit_range_item.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_limit_range_item.py rename to kubernetes/aio/client/models/v1_limit_range_item.py index 2b656cc956..cb0105284f 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range_item.py +++ b/kubernetes/aio/client/models/v1_limit_range_item.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LimitRangeItem(object): diff --git a/kubernetes_asyncio/client/models/v1_limit_range_list.py b/kubernetes/aio/client/models/v1_limit_range_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_limit_range_list.py rename to kubernetes/aio/client/models/v1_limit_range_list.py index 98c5c72dc3..4a9fc6315f 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range_list.py +++ b/kubernetes/aio/client/models/v1_limit_range_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LimitRangeList(object): diff --git a/kubernetes_asyncio/client/models/v1_limit_range_spec.py b/kubernetes/aio/client/models/v1_limit_range_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_limit_range_spec.py rename to kubernetes/aio/client/models/v1_limit_range_spec.py index f25799112e..5d0857b505 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range_spec.py +++ b/kubernetes/aio/client/models/v1_limit_range_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LimitRangeSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_limit_response.py b/kubernetes/aio/client/models/v1_limit_response.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_limit_response.py rename to kubernetes/aio/client/models/v1_limit_response.py index 8c62c1e078..f8222f61ca 100644 --- a/kubernetes_asyncio/client/models/v1_limit_response.py +++ b/kubernetes/aio/client/models/v1_limit_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LimitResponse(object): diff --git a/kubernetes_asyncio/client/models/v1_limited_priority_level_configuration.py b/kubernetes/aio/client/models/v1_limited_priority_level_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_limited_priority_level_configuration.py rename to kubernetes/aio/client/models/v1_limited_priority_level_configuration.py index f3ed5b5ebb..73e45f8ac7 100644 --- a/kubernetes_asyncio/client/models/v1_limited_priority_level_configuration.py +++ b/kubernetes/aio/client/models/v1_limited_priority_level_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LimitedPriorityLevelConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_linux_container_user.py b/kubernetes/aio/client/models/v1_linux_container_user.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_linux_container_user.py rename to kubernetes/aio/client/models/v1_linux_container_user.py index e7f8a5652f..6079db34e5 100644 --- a/kubernetes_asyncio/client/models/v1_linux_container_user.py +++ b/kubernetes/aio/client/models/v1_linux_container_user.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LinuxContainerUser(object): diff --git a/kubernetes_asyncio/client/models/v1_list_meta.py b/kubernetes/aio/client/models/v1_list_meta.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_list_meta.py rename to kubernetes/aio/client/models/v1_list_meta.py index cea6bf5fc5..0de17ac005 100644 --- a/kubernetes_asyncio/client/models/v1_list_meta.py +++ b/kubernetes/aio/client/models/v1_list_meta.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ListMeta(object): diff --git a/kubernetes_asyncio/client/models/v1_load_balancer_ingress.py b/kubernetes/aio/client/models/v1_load_balancer_ingress.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_load_balancer_ingress.py rename to kubernetes/aio/client/models/v1_load_balancer_ingress.py index 5d1c02ee14..2e125993d5 100644 --- a/kubernetes_asyncio/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/aio/client/models/v1_load_balancer_ingress.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LoadBalancerIngress(object): diff --git a/kubernetes_asyncio/client/models/v1_load_balancer_status.py b/kubernetes/aio/client/models/v1_load_balancer_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_load_balancer_status.py rename to kubernetes/aio/client/models/v1_load_balancer_status.py index 106279be21..09c136e84e 100644 --- a/kubernetes_asyncio/client/models/v1_load_balancer_status.py +++ b/kubernetes/aio/client/models/v1_load_balancer_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LoadBalancerStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_local_object_reference.py b/kubernetes/aio/client/models/v1_local_object_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_local_object_reference.py rename to kubernetes/aio/client/models/v1_local_object_reference.py index 1cc9374a03..85e12d77d4 100644 --- a/kubernetes_asyncio/client/models/v1_local_object_reference.py +++ b/kubernetes/aio/client/models/v1_local_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LocalObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v1_local_subject_access_review.py b/kubernetes/aio/client/models/v1_local_subject_access_review.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_local_subject_access_review.py rename to kubernetes/aio/client/models/v1_local_subject_access_review.py index 0a7de70b5b..aca24d085c 100644 --- a/kubernetes_asyncio/client/models/v1_local_subject_access_review.py +++ b/kubernetes/aio/client/models/v1_local_subject_access_review.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LocalSubjectAccessReview(object): diff --git a/kubernetes_asyncio/client/models/v1_local_volume_source.py b/kubernetes/aio/client/models/v1_local_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_local_volume_source.py rename to kubernetes/aio/client/models/v1_local_volume_source.py index ecca260336..518f15899b 100644 --- a/kubernetes_asyncio/client/models/v1_local_volume_source.py +++ b/kubernetes/aio/client/models/v1_local_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1LocalVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_managed_fields_entry.py b/kubernetes/aio/client/models/v1_managed_fields_entry.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_managed_fields_entry.py rename to kubernetes/aio/client/models/v1_managed_fields_entry.py index ef884f8565..79040c1879 100644 --- a/kubernetes_asyncio/client/models/v1_managed_fields_entry.py +++ b/kubernetes/aio/client/models/v1_managed_fields_entry.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ManagedFieldsEntry(object): diff --git a/kubernetes_asyncio/client/models/v1_match_condition.py b/kubernetes/aio/client/models/v1_match_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_match_condition.py rename to kubernetes/aio/client/models/v1_match_condition.py index fd6e9e3656..99268164dd 100644 --- a/kubernetes_asyncio/client/models/v1_match_condition.py +++ b/kubernetes/aio/client/models/v1_match_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MatchCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_match_resources.py b/kubernetes/aio/client/models/v1_match_resources.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_match_resources.py rename to kubernetes/aio/client/models/v1_match_resources.py index 0345742ca3..c003bcbf40 100644 --- a/kubernetes_asyncio/client/models/v1_match_resources.py +++ b/kubernetes/aio/client/models/v1_match_resources.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MatchResources(object): diff --git a/kubernetes_asyncio/client/models/v1_modify_volume_status.py b/kubernetes/aio/client/models/v1_modify_volume_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_modify_volume_status.py rename to kubernetes/aio/client/models/v1_modify_volume_status.py index cef2431f0b..2069f7c004 100644 --- a/kubernetes_asyncio/client/models/v1_modify_volume_status.py +++ b/kubernetes/aio/client/models/v1_modify_volume_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ModifyVolumeStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_admission_policy.py b/kubernetes/aio/client/models/v1_mutating_admission_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_admission_policy.py rename to kubernetes/aio/client/models/v1_mutating_admission_policy.py index fee31e1955..542cb073fe 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_admission_policy.py +++ b/kubernetes/aio/client/models/v1_mutating_admission_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingAdmissionPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding.py b/kubernetes/aio/client/models/v1_mutating_admission_policy_binding.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding.py rename to kubernetes/aio/client/models/v1_mutating_admission_policy_binding.py index ee85071033..473a0cdba1 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding.py +++ b/kubernetes/aio/client/models/v1_mutating_admission_policy_binding.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingAdmissionPolicyBinding(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding_list.py b/kubernetes/aio/client/models/v1_mutating_admission_policy_binding_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding_list.py rename to kubernetes/aio/client/models/v1_mutating_admission_policy_binding_list.py index 77b8346439..1a0965372d 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding_list.py +++ b/kubernetes/aio/client/models/v1_mutating_admission_policy_binding_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingAdmissionPolicyBindingList(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding_spec.py b/kubernetes/aio/client/models/v1_mutating_admission_policy_binding_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding_spec.py rename to kubernetes/aio/client/models/v1_mutating_admission_policy_binding_spec.py index 2e1d2ef2a4..24c59c38bc 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_binding_spec.py +++ b/kubernetes/aio/client/models/v1_mutating_admission_policy_binding_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingAdmissionPolicyBindingSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_list.py b/kubernetes/aio/client/models/v1_mutating_admission_policy_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_admission_policy_list.py rename to kubernetes/aio/client/models/v1_mutating_admission_policy_list.py index 7e2042734f..029ff69d3e 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_list.py +++ b/kubernetes/aio/client/models/v1_mutating_admission_policy_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingAdmissionPolicyList(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_spec.py b/kubernetes/aio/client/models/v1_mutating_admission_policy_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_admission_policy_spec.py rename to kubernetes/aio/client/models/v1_mutating_admission_policy_spec.py index 51393f3a97..f82245bc19 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_admission_policy_spec.py +++ b/kubernetes/aio/client/models/v1_mutating_admission_policy_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingAdmissionPolicySpec(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_webhook.py b/kubernetes/aio/client/models/v1_mutating_webhook.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_webhook.py rename to kubernetes/aio/client/models/v1_mutating_webhook.py index 33d93b7d60..bbdf8194bf 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_webhook.py +++ b/kubernetes/aio/client/models/v1_mutating_webhook.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingWebhook(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration.py b/kubernetes/aio/client/models/v1_mutating_webhook_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_webhook_configuration.py rename to kubernetes/aio/client/models/v1_mutating_webhook_configuration.py index 6f875435f9..64007f043b 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration.py +++ b/kubernetes/aio/client/models/v1_mutating_webhook_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingWebhookConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration_list.py b/kubernetes/aio/client/models/v1_mutating_webhook_configuration_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_mutating_webhook_configuration_list.py rename to kubernetes/aio/client/models/v1_mutating_webhook_configuration_list.py index 04b16ee7c9..cca87d6b0d 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration_list.py +++ b/kubernetes/aio/client/models/v1_mutating_webhook_configuration_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1MutatingWebhookConfigurationList(object): diff --git a/kubernetes_asyncio/client/models/v1_mutation.py b/kubernetes/aio/client/models/v1_mutation.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_mutation.py rename to kubernetes/aio/client/models/v1_mutation.py index bf61f0c48f..012460f85b 100644 --- a/kubernetes_asyncio/client/models/v1_mutation.py +++ b/kubernetes/aio/client/models/v1_mutation.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Mutation(object): diff --git a/kubernetes_asyncio/client/models/v1_named_rule_with_operations.py b/kubernetes/aio/client/models/v1_named_rule_with_operations.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_named_rule_with_operations.py rename to kubernetes/aio/client/models/v1_named_rule_with_operations.py index 9932adffd7..e1422b059a 100644 --- a/kubernetes_asyncio/client/models/v1_named_rule_with_operations.py +++ b/kubernetes/aio/client/models/v1_named_rule_with_operations.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NamedRuleWithOperations(object): diff --git a/kubernetes_asyncio/client/models/v1_namespace.py b/kubernetes/aio/client/models/v1_namespace.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_namespace.py rename to kubernetes/aio/client/models/v1_namespace.py index 5f07084095..e3d8d856e3 100644 --- a/kubernetes_asyncio/client/models/v1_namespace.py +++ b/kubernetes/aio/client/models/v1_namespace.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Namespace(object): diff --git a/kubernetes_asyncio/client/models/v1_namespace_condition.py b/kubernetes/aio/client/models/v1_namespace_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_namespace_condition.py rename to kubernetes/aio/client/models/v1_namespace_condition.py index b0c8c89d1b..22d18e5cb3 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_condition.py +++ b/kubernetes/aio/client/models/v1_namespace_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NamespaceCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_namespace_list.py b/kubernetes/aio/client/models/v1_namespace_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_namespace_list.py rename to kubernetes/aio/client/models/v1_namespace_list.py index 886f6e5d85..325cfbcee3 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_list.py +++ b/kubernetes/aio/client/models/v1_namespace_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NamespaceList(object): diff --git a/kubernetes_asyncio/client/models/v1_namespace_spec.py b/kubernetes/aio/client/models/v1_namespace_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_namespace_spec.py rename to kubernetes/aio/client/models/v1_namespace_spec.py index 09f23ddd2d..f4d8ace0b0 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_spec.py +++ b/kubernetes/aio/client/models/v1_namespace_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NamespaceSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_namespace_status.py b/kubernetes/aio/client/models/v1_namespace_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_namespace_status.py rename to kubernetes/aio/client/models/v1_namespace_status.py index 99d129c05a..150b44b2b2 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_status.py +++ b/kubernetes/aio/client/models/v1_namespace_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NamespaceStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_network_device_data.py b/kubernetes/aio/client/models/v1_network_device_data.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_network_device_data.py rename to kubernetes/aio/client/models/v1_network_device_data.py index 708a43caeb..829a4f795d 100644 --- a/kubernetes_asyncio/client/models/v1_network_device_data.py +++ b/kubernetes/aio/client/models/v1_network_device_data.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkDeviceData(object): diff --git a/kubernetes_asyncio/client/models/v1_network_policy.py b/kubernetes/aio/client/models/v1_network_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_network_policy.py rename to kubernetes/aio/client/models/v1_network_policy.py index 2c97504481..68938b6667 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy.py +++ b/kubernetes/aio/client/models/v1_network_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_network_policy_egress_rule.py b/kubernetes/aio/client/models/v1_network_policy_egress_rule.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_network_policy_egress_rule.py rename to kubernetes/aio/client/models/v1_network_policy_egress_rule.py index baed60da19..a2266b6559 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_egress_rule.py +++ b/kubernetes/aio/client/models/v1_network_policy_egress_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkPolicyEgressRule(object): diff --git a/kubernetes_asyncio/client/models/v1_network_policy_ingress_rule.py b/kubernetes/aio/client/models/v1_network_policy_ingress_rule.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_network_policy_ingress_rule.py rename to kubernetes/aio/client/models/v1_network_policy_ingress_rule.py index bf2ba453e9..e41d6ee892 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_ingress_rule.py +++ b/kubernetes/aio/client/models/v1_network_policy_ingress_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkPolicyIngressRule(object): diff --git a/kubernetes_asyncio/client/models/v1_network_policy_list.py b/kubernetes/aio/client/models/v1_network_policy_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_network_policy_list.py rename to kubernetes/aio/client/models/v1_network_policy_list.py index 5c63a3aab5..2a6654f848 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_list.py +++ b/kubernetes/aio/client/models/v1_network_policy_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkPolicyList(object): diff --git a/kubernetes_asyncio/client/models/v1_network_policy_peer.py b/kubernetes/aio/client/models/v1_network_policy_peer.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_network_policy_peer.py rename to kubernetes/aio/client/models/v1_network_policy_peer.py index ca03a9db37..60b8aa463e 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_peer.py +++ b/kubernetes/aio/client/models/v1_network_policy_peer.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkPolicyPeer(object): diff --git a/kubernetes_asyncio/client/models/v1_network_policy_port.py b/kubernetes/aio/client/models/v1_network_policy_port.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_network_policy_port.py rename to kubernetes/aio/client/models/v1_network_policy_port.py index e414ec2a74..8ac421ed55 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_port.py +++ b/kubernetes/aio/client/models/v1_network_policy_port.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkPolicyPort(object): diff --git a/kubernetes_asyncio/client/models/v1_network_policy_spec.py b/kubernetes/aio/client/models/v1_network_policy_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_network_policy_spec.py rename to kubernetes/aio/client/models/v1_network_policy_spec.py index 03f8300ec7..6fee6412a0 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_spec.py +++ b/kubernetes/aio/client/models/v1_network_policy_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NetworkPolicySpec(object): diff --git a/kubernetes_asyncio/client/models/v1_nfs_volume_source.py b/kubernetes/aio/client/models/v1_nfs_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_nfs_volume_source.py rename to kubernetes/aio/client/models/v1_nfs_volume_source.py index a449de52c7..51fc720ae4 100644 --- a/kubernetes_asyncio/client/models/v1_nfs_volume_source.py +++ b/kubernetes/aio/client/models/v1_nfs_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NFSVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_node.py b/kubernetes/aio/client/models/v1_node.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node.py rename to kubernetes/aio/client/models/v1_node.py index a43a927d9b..343d596f84 100644 --- a/kubernetes_asyncio/client/models/v1_node.py +++ b/kubernetes/aio/client/models/v1_node.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Node(object): diff --git a/kubernetes_asyncio/client/models/v1_node_address.py b/kubernetes/aio/client/models/v1_node_address.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_address.py rename to kubernetes/aio/client/models/v1_node_address.py index 6f0998f8b8..26ea08bf01 100644 --- a/kubernetes_asyncio/client/models/v1_node_address.py +++ b/kubernetes/aio/client/models/v1_node_address.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeAddress(object): diff --git a/kubernetes_asyncio/client/models/v1_node_affinity.py b/kubernetes/aio/client/models/v1_node_affinity.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_affinity.py rename to kubernetes/aio/client/models/v1_node_affinity.py index adf461f60a..bc6325ddd6 100644 --- a/kubernetes_asyncio/client/models/v1_node_affinity.py +++ b/kubernetes/aio/client/models/v1_node_affinity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeAffinity(object): diff --git a/kubernetes_asyncio/client/models/v1_node_allocatable_resource_claim_status.py b/kubernetes/aio/client/models/v1_node_allocatable_resource_claim_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_allocatable_resource_claim_status.py rename to kubernetes/aio/client/models/v1_node_allocatable_resource_claim_status.py index 8f5582fc0a..0838362d1b 100644 --- a/kubernetes_asyncio/client/models/v1_node_allocatable_resource_claim_status.py +++ b/kubernetes/aio/client/models/v1_node_allocatable_resource_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeAllocatableResourceClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_node_allocatable_resource_mapping.py b/kubernetes/aio/client/models/v1_node_allocatable_resource_mapping.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_allocatable_resource_mapping.py rename to kubernetes/aio/client/models/v1_node_allocatable_resource_mapping.py index c6e33cfa3c..3a0bddc9bd 100644 --- a/kubernetes_asyncio/client/models/v1_node_allocatable_resource_mapping.py +++ b/kubernetes/aio/client/models/v1_node_allocatable_resource_mapping.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeAllocatableResourceMapping(object): diff --git a/kubernetes_asyncio/client/models/v1_node_condition.py b/kubernetes/aio/client/models/v1_node_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_condition.py rename to kubernetes/aio/client/models/v1_node_condition.py index 26ea170a6f..0841fddd75 100644 --- a/kubernetes_asyncio/client/models/v1_node_condition.py +++ b/kubernetes/aio/client/models/v1_node_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_node_config_source.py b/kubernetes/aio/client/models/v1_node_config_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_config_source.py rename to kubernetes/aio/client/models/v1_node_config_source.py index 07b6f7c289..8dfa1efebd 100644 --- a/kubernetes_asyncio/client/models/v1_node_config_source.py +++ b/kubernetes/aio/client/models/v1_node_config_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeConfigSource(object): diff --git a/kubernetes_asyncio/client/models/v1_node_config_status.py b/kubernetes/aio/client/models/v1_node_config_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_config_status.py rename to kubernetes/aio/client/models/v1_node_config_status.py index ce99ea4132..2332e2fb28 100644 --- a/kubernetes_asyncio/client/models/v1_node_config_status.py +++ b/kubernetes/aio/client/models/v1_node_config_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeConfigStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_node_daemon_endpoints.py b/kubernetes/aio/client/models/v1_node_daemon_endpoints.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_daemon_endpoints.py rename to kubernetes/aio/client/models/v1_node_daemon_endpoints.py index b5a99c42e2..7f4c623226 100644 --- a/kubernetes_asyncio/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/aio/client/models/v1_node_daemon_endpoints.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeDaemonEndpoints(object): diff --git a/kubernetes_asyncio/client/models/v1_node_features.py b/kubernetes/aio/client/models/v1_node_features.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_features.py rename to kubernetes/aio/client/models/v1_node_features.py index 795181cc6a..58977d0eba 100644 --- a/kubernetes_asyncio/client/models/v1_node_features.py +++ b/kubernetes/aio/client/models/v1_node_features.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeFeatures(object): diff --git a/kubernetes_asyncio/client/models/v1_node_list.py b/kubernetes/aio/client/models/v1_node_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_list.py rename to kubernetes/aio/client/models/v1_node_list.py index d5c8920d6c..3895e6bef7 100644 --- a/kubernetes_asyncio/client/models/v1_node_list.py +++ b/kubernetes/aio/client/models/v1_node_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeList(object): diff --git a/kubernetes_asyncio/client/models/v1_node_runtime_handler.py b/kubernetes/aio/client/models/v1_node_runtime_handler.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_runtime_handler.py rename to kubernetes/aio/client/models/v1_node_runtime_handler.py index 8fc55b51ae..e11c5b2fc7 100644 --- a/kubernetes_asyncio/client/models/v1_node_runtime_handler.py +++ b/kubernetes/aio/client/models/v1_node_runtime_handler.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeRuntimeHandler(object): diff --git a/kubernetes_asyncio/client/models/v1_node_runtime_handler_features.py b/kubernetes/aio/client/models/v1_node_runtime_handler_features.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_runtime_handler_features.py rename to kubernetes/aio/client/models/v1_node_runtime_handler_features.py index e8839321f7..b87cd1886c 100644 --- a/kubernetes_asyncio/client/models/v1_node_runtime_handler_features.py +++ b/kubernetes/aio/client/models/v1_node_runtime_handler_features.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeRuntimeHandlerFeatures(object): diff --git a/kubernetes_asyncio/client/models/v1_node_selector.py b/kubernetes/aio/client/models/v1_node_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_selector.py rename to kubernetes/aio/client/models/v1_node_selector.py index 7f5565fd09..79608d3d84 100644 --- a/kubernetes_asyncio/client/models/v1_node_selector.py +++ b/kubernetes/aio/client/models/v1_node_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeSelector(object): diff --git a/kubernetes_asyncio/client/models/v1_node_selector_requirement.py b/kubernetes/aio/client/models/v1_node_selector_requirement.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_selector_requirement.py rename to kubernetes/aio/client/models/v1_node_selector_requirement.py index 255449b7a7..1790147b12 100644 --- a/kubernetes_asyncio/client/models/v1_node_selector_requirement.py +++ b/kubernetes/aio/client/models/v1_node_selector_requirement.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeSelectorRequirement(object): diff --git a/kubernetes_asyncio/client/models/v1_node_selector_term.py b/kubernetes/aio/client/models/v1_node_selector_term.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_selector_term.py rename to kubernetes/aio/client/models/v1_node_selector_term.py index 990fcd1b6d..dda5b52370 100644 --- a/kubernetes_asyncio/client/models/v1_node_selector_term.py +++ b/kubernetes/aio/client/models/v1_node_selector_term.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeSelectorTerm(object): diff --git a/kubernetes_asyncio/client/models/v1_node_spec.py b/kubernetes/aio/client/models/v1_node_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_spec.py rename to kubernetes/aio/client/models/v1_node_spec.py index 9696728d91..8bdfc74d4f 100644 --- a/kubernetes_asyncio/client/models/v1_node_spec.py +++ b/kubernetes/aio/client/models/v1_node_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_node_status.py b/kubernetes/aio/client/models/v1_node_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_status.py rename to kubernetes/aio/client/models/v1_node_status.py index 423843ba41..13872a5be0 100644 --- a/kubernetes_asyncio/client/models/v1_node_status.py +++ b/kubernetes/aio/client/models/v1_node_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_node_swap_status.py b/kubernetes/aio/client/models/v1_node_swap_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_node_swap_status.py rename to kubernetes/aio/client/models/v1_node_swap_status.py index 545aedaec9..fcf122f1b6 100644 --- a/kubernetes_asyncio/client/models/v1_node_swap_status.py +++ b/kubernetes/aio/client/models/v1_node_swap_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeSwapStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_node_system_info.py b/kubernetes/aio/client/models/v1_node_system_info.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_node_system_info.py rename to kubernetes/aio/client/models/v1_node_system_info.py index 7797f79105..cc00bd4634 100644 --- a/kubernetes_asyncio/client/models/v1_node_system_info.py +++ b/kubernetes/aio/client/models/v1_node_system_info.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NodeSystemInfo(object): diff --git a/kubernetes_asyncio/client/models/v1_non_resource_attributes.py b/kubernetes/aio/client/models/v1_non_resource_attributes.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_non_resource_attributes.py rename to kubernetes/aio/client/models/v1_non_resource_attributes.py index c07c320f28..cc14306dce 100644 --- a/kubernetes_asyncio/client/models/v1_non_resource_attributes.py +++ b/kubernetes/aio/client/models/v1_non_resource_attributes.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NonResourceAttributes(object): diff --git a/kubernetes_asyncio/client/models/v1_non_resource_policy_rule.py b/kubernetes/aio/client/models/v1_non_resource_policy_rule.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_non_resource_policy_rule.py rename to kubernetes/aio/client/models/v1_non_resource_policy_rule.py index a725fec99c..49c7088531 100644 --- a/kubernetes_asyncio/client/models/v1_non_resource_policy_rule.py +++ b/kubernetes/aio/client/models/v1_non_resource_policy_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NonResourcePolicyRule(object): diff --git a/kubernetes_asyncio/client/models/v1_non_resource_rule.py b/kubernetes/aio/client/models/v1_non_resource_rule.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_non_resource_rule.py rename to kubernetes/aio/client/models/v1_non_resource_rule.py index cc3f51b619..f37f094d26 100644 --- a/kubernetes_asyncio/client/models/v1_non_resource_rule.py +++ b/kubernetes/aio/client/models/v1_non_resource_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1NonResourceRule(object): diff --git a/kubernetes_asyncio/client/models/v1_object_field_selector.py b/kubernetes/aio/client/models/v1_object_field_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_object_field_selector.py rename to kubernetes/aio/client/models/v1_object_field_selector.py index 83459f9409..28dfa154e3 100644 --- a/kubernetes_asyncio/client/models/v1_object_field_selector.py +++ b/kubernetes/aio/client/models/v1_object_field_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ObjectFieldSelector(object): diff --git a/kubernetes_asyncio/client/models/v1_object_meta.py b/kubernetes/aio/client/models/v1_object_meta.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_object_meta.py rename to kubernetes/aio/client/models/v1_object_meta.py index 0070c2e58b..06950661d4 100644 --- a/kubernetes_asyncio/client/models/v1_object_meta.py +++ b/kubernetes/aio/client/models/v1_object_meta.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ObjectMeta(object): diff --git a/kubernetes_asyncio/client/models/v1_object_reference.py b/kubernetes/aio/client/models/v1_object_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_object_reference.py rename to kubernetes/aio/client/models/v1_object_reference.py index 13442d158f..07e0714288 100644 --- a/kubernetes_asyncio/client/models/v1_object_reference.py +++ b/kubernetes/aio/client/models/v1_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v1_opaque_device_configuration.py b/kubernetes/aio/client/models/v1_opaque_device_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_opaque_device_configuration.py rename to kubernetes/aio/client/models/v1_opaque_device_configuration.py index 6f91c48473..1169f495b9 100644 --- a/kubernetes_asyncio/client/models/v1_opaque_device_configuration.py +++ b/kubernetes/aio/client/models/v1_opaque_device_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1OpaqueDeviceConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_overhead.py b/kubernetes/aio/client/models/v1_overhead.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_overhead.py rename to kubernetes/aio/client/models/v1_overhead.py index 7a2cdc567f..889befd19b 100644 --- a/kubernetes_asyncio/client/models/v1_overhead.py +++ b/kubernetes/aio/client/models/v1_overhead.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Overhead(object): diff --git a/kubernetes_asyncio/client/models/v1_owner_reference.py b/kubernetes/aio/client/models/v1_owner_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_owner_reference.py rename to kubernetes/aio/client/models/v1_owner_reference.py index 87d1439a3e..c2f9aacd95 100644 --- a/kubernetes_asyncio/client/models/v1_owner_reference.py +++ b/kubernetes/aio/client/models/v1_owner_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1OwnerReference(object): diff --git a/kubernetes_asyncio/client/models/v1_param_kind.py b/kubernetes/aio/client/models/v1_param_kind.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_param_kind.py rename to kubernetes/aio/client/models/v1_param_kind.py index a715388065..eea482a5ee 100644 --- a/kubernetes_asyncio/client/models/v1_param_kind.py +++ b/kubernetes/aio/client/models/v1_param_kind.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ParamKind(object): diff --git a/kubernetes_asyncio/client/models/v1_param_ref.py b/kubernetes/aio/client/models/v1_param_ref.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_param_ref.py rename to kubernetes/aio/client/models/v1_param_ref.py index f4137ddd05..f573cd1a64 100644 --- a/kubernetes_asyncio/client/models/v1_param_ref.py +++ b/kubernetes/aio/client/models/v1_param_ref.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ParamRef(object): diff --git a/kubernetes_asyncio/client/models/v1_parent_reference.py b/kubernetes/aio/client/models/v1_parent_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_parent_reference.py rename to kubernetes/aio/client/models/v1_parent_reference.py index 722eacde1a..9e4a8cc96f 100644 --- a/kubernetes_asyncio/client/models/v1_parent_reference.py +++ b/kubernetes/aio/client/models/v1_parent_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ParentReference(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume.py b/kubernetes/aio/client/models/v1_persistent_volume.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume.py rename to kubernetes/aio/client/models/v1_persistent_volume.py index 260f78143c..1fd38b316d 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume.py +++ b/kubernetes/aio/client/models/v1_persistent_volume.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolume(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim.py b/kubernetes/aio/client/models/v1_persistent_volume_claim.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_claim.py rename to kubernetes/aio/client/models/v1_persistent_volume_claim.py index 3d93ea8803..551207986f 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeClaim(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_condition.py b/kubernetes/aio/client/models/v1_persistent_volume_claim_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_claim_condition.py rename to kubernetes/aio/client/models/v1_persistent_volume_claim_condition.py index 19648db29e..38bc22d0d7 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_condition.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_claim_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeClaimCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_list.py b/kubernetes/aio/client/models/v1_persistent_volume_claim_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_claim_list.py rename to kubernetes/aio/client/models/v1_persistent_volume_claim_list.py index fce2027ca4..c3cf4e3305 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_claim_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeClaimList(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/aio/client/models/v1_persistent_volume_claim_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_claim_spec.py rename to kubernetes/aio/client/models/v1_persistent_volume_claim_spec.py index 79570770f3..ffb3d42b6c 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_claim_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeClaimSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_status.py b/kubernetes/aio/client/models/v1_persistent_volume_claim_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_claim_status.py rename to kubernetes/aio/client/models/v1_persistent_volume_claim_status.py index e78d045375..835badb3f6 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_template.py b/kubernetes/aio/client/models/v1_persistent_volume_claim_template.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_persistent_volume_claim_template.py rename to kubernetes/aio/client/models/v1_persistent_volume_claim_template.py index d48bd9ac94..d78c8b0ff4 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_template.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_claim_template.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeClaimTemplate(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/aio/client/models/v1_persistent_volume_claim_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_persistent_volume_claim_volume_source.py rename to kubernetes/aio/client/models/v1_persistent_volume_claim_volume_source.py index 651ef1a593..3bf232421f 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_claim_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeClaimVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_list.py b/kubernetes/aio/client/models/v1_persistent_volume_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_list.py rename to kubernetes/aio/client/models/v1_persistent_volume_list.py index 02a1e58e17..285731307f 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_list.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeList(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_spec.py b/kubernetes/aio/client/models/v1_persistent_volume_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_spec.py rename to kubernetes/aio/client/models/v1_persistent_volume_spec.py index 33c01218e0..4217f9d5e0 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_status.py b/kubernetes/aio/client/models/v1_persistent_volume_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_persistent_volume_status.py rename to kubernetes/aio/client/models/v1_persistent_volume_status.py index 82ec075845..b498b239cd 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_status.py +++ b/kubernetes/aio/client/models/v1_persistent_volume_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PersistentVolumeStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/aio/client/models/v1_photon_persistent_disk_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_photon_persistent_disk_volume_source.py rename to kubernetes/aio/client/models/v1_photon_persistent_disk_volume_source.py index 7a3d5a3a64..83b614d2ef 100644 --- a/kubernetes_asyncio/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/aio/client/models/v1_photon_persistent_disk_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PhotonPersistentDiskVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_pod.py b/kubernetes/aio/client/models/v1_pod.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod.py rename to kubernetes/aio/client/models/v1_pod.py index 1093a9965e..9852fae43b 100644 --- a/kubernetes_asyncio/client/models/v1_pod.py +++ b/kubernetes/aio/client/models/v1_pod.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Pod(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_affinity.py b/kubernetes/aio/client/models/v1_pod_affinity.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_affinity.py rename to kubernetes/aio/client/models/v1_pod_affinity.py index 323db0ca12..78c57ea0d7 100644 --- a/kubernetes_asyncio/client/models/v1_pod_affinity.py +++ b/kubernetes/aio/client/models/v1_pod_affinity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodAffinity(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_affinity_term.py b/kubernetes/aio/client/models/v1_pod_affinity_term.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_affinity_term.py rename to kubernetes/aio/client/models/v1_pod_affinity_term.py index 95de4380f7..663585c830 100644 --- a/kubernetes_asyncio/client/models/v1_pod_affinity_term.py +++ b/kubernetes/aio/client/models/v1_pod_affinity_term.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodAffinityTerm(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_anti_affinity.py b/kubernetes/aio/client/models/v1_pod_anti_affinity.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_anti_affinity.py rename to kubernetes/aio/client/models/v1_pod_anti_affinity.py index 7c5eda9df8..08349a703b 100644 --- a/kubernetes_asyncio/client/models/v1_pod_anti_affinity.py +++ b/kubernetes/aio/client/models/v1_pod_anti_affinity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodAntiAffinity(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_certificate_projection.py b/kubernetes/aio/client/models/v1_pod_certificate_projection.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_certificate_projection.py rename to kubernetes/aio/client/models/v1_pod_certificate_projection.py index 0a6c7b55fe..57225590a1 100644 --- a/kubernetes_asyncio/client/models/v1_pod_certificate_projection.py +++ b/kubernetes/aio/client/models/v1_pod_certificate_projection.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodCertificateProjection(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_condition.py b/kubernetes/aio/client/models/v1_pod_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_condition.py rename to kubernetes/aio/client/models/v1_pod_condition.py index ae4a283386..64c6555cfa 100644 --- a/kubernetes_asyncio/client/models/v1_pod_condition.py +++ b/kubernetes/aio/client/models/v1_pod_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget.py b/kubernetes/aio/client/models/v1_pod_disruption_budget.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_disruption_budget.py rename to kubernetes/aio/client/models/v1_pod_disruption_budget.py index da67c1b26a..b984bfcdfe 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget.py +++ b/kubernetes/aio/client/models/v1_pod_disruption_budget.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodDisruptionBudget(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_list.py b/kubernetes/aio/client/models/v1_pod_disruption_budget_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_disruption_budget_list.py rename to kubernetes/aio/client/models/v1_pod_disruption_budget_list.py index edb101b2e9..a17f774296 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_list.py +++ b/kubernetes/aio/client/models/v1_pod_disruption_budget_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodDisruptionBudgetList(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_spec.py b/kubernetes/aio/client/models/v1_pod_disruption_budget_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_disruption_budget_spec.py rename to kubernetes/aio/client/models/v1_pod_disruption_budget_spec.py index e52d50ccab..7afc171d14 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_spec.py +++ b/kubernetes/aio/client/models/v1_pod_disruption_budget_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodDisruptionBudgetSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_status.py b/kubernetes/aio/client/models/v1_pod_disruption_budget_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_disruption_budget_status.py rename to kubernetes/aio/client/models/v1_pod_disruption_budget_status.py index dad7b96c74..d38c141ec8 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_status.py +++ b/kubernetes/aio/client/models/v1_pod_disruption_budget_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodDisruptionBudgetStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_dns_config.py b/kubernetes/aio/client/models/v1_pod_dns_config.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_dns_config.py rename to kubernetes/aio/client/models/v1_pod_dns_config.py index f6656caedd..a56c30cafa 100644 --- a/kubernetes_asyncio/client/models/v1_pod_dns_config.py +++ b/kubernetes/aio/client/models/v1_pod_dns_config.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodDNSConfig(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_dns_config_option.py b/kubernetes/aio/client/models/v1_pod_dns_config_option.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_dns_config_option.py rename to kubernetes/aio/client/models/v1_pod_dns_config_option.py index 2a43e7825d..a59c8f54f7 100644 --- a/kubernetes_asyncio/client/models/v1_pod_dns_config_option.py +++ b/kubernetes/aio/client/models/v1_pod_dns_config_option.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodDNSConfigOption(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_extended_resource_claim_status.py b/kubernetes/aio/client/models/v1_pod_extended_resource_claim_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_extended_resource_claim_status.py rename to kubernetes/aio/client/models/v1_pod_extended_resource_claim_status.py index 1dfae17ff9..803c90e27d 100644 --- a/kubernetes_asyncio/client/models/v1_pod_extended_resource_claim_status.py +++ b/kubernetes/aio/client/models/v1_pod_extended_resource_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodExtendedResourceClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy.py b/kubernetes/aio/client/models/v1_pod_failure_policy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_failure_policy.py rename to kubernetes/aio/client/models/v1_pod_failure_policy.py index d19fb5754d..1d149d54a5 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy.py +++ b/kubernetes/aio/client/models/v1_pod_failure_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodFailurePolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py b/kubernetes/aio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py rename to kubernetes/aio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py index ba4db2fb98..a3eecef741 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py +++ b/kubernetes/aio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodFailurePolicyOnExitCodesRequirement(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py b/kubernetes/aio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py rename to kubernetes/aio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py index 1417bbfc13..1668eb9681 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py +++ b/kubernetes/aio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodFailurePolicyOnPodConditionsPattern(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy_rule.py b/kubernetes/aio/client/models/v1_pod_failure_policy_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_failure_policy_rule.py rename to kubernetes/aio/client/models/v1_pod_failure_policy_rule.py index 7f2e4db1f0..1dd8e76b06 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy_rule.py +++ b/kubernetes/aio/client/models/v1_pod_failure_policy_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodFailurePolicyRule(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_ip.py b/kubernetes/aio/client/models/v1_pod_ip.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_ip.py rename to kubernetes/aio/client/models/v1_pod_ip.py index ed993d8f5d..40bf7347aa 100644 --- a/kubernetes_asyncio/client/models/v1_pod_ip.py +++ b/kubernetes/aio/client/models/v1_pod_ip.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodIP(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_list.py b/kubernetes/aio/client/models/v1_pod_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_list.py rename to kubernetes/aio/client/models/v1_pod_list.py index 92eff08117..0ffcbd91e3 100644 --- a/kubernetes_asyncio/client/models/v1_pod_list.py +++ b/kubernetes/aio/client/models/v1_pod_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodList(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_os.py b/kubernetes/aio/client/models/v1_pod_os.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_os.py rename to kubernetes/aio/client/models/v1_pod_os.py index 6a30453631..3bece96ad5 100644 --- a/kubernetes_asyncio/client/models/v1_pod_os.py +++ b/kubernetes/aio/client/models/v1_pod_os.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodOS(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_readiness_gate.py b/kubernetes/aio/client/models/v1_pod_readiness_gate.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_readiness_gate.py rename to kubernetes/aio/client/models/v1_pod_readiness_gate.py index f8e6704633..202a8dc643 100644 --- a/kubernetes_asyncio/client/models/v1_pod_readiness_gate.py +++ b/kubernetes/aio/client/models/v1_pod_readiness_gate.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodReadinessGate(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_resource_claim.py b/kubernetes/aio/client/models/v1_pod_resource_claim.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_resource_claim.py rename to kubernetes/aio/client/models/v1_pod_resource_claim.py index 8cb16e72c2..e5c97acecb 100644 --- a/kubernetes_asyncio/client/models/v1_pod_resource_claim.py +++ b/kubernetes/aio/client/models/v1_pod_resource_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodResourceClaim(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_resource_claim_status.py b/kubernetes/aio/client/models/v1_pod_resource_claim_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_resource_claim_status.py rename to kubernetes/aio/client/models/v1_pod_resource_claim_status.py index ed8c030781..2a0ada5b66 100644 --- a/kubernetes_asyncio/client/models/v1_pod_resource_claim_status.py +++ b/kubernetes/aio/client/models/v1_pod_resource_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodResourceClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_scheduling_gate.py b/kubernetes/aio/client/models/v1_pod_scheduling_gate.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_scheduling_gate.py rename to kubernetes/aio/client/models/v1_pod_scheduling_gate.py index 135322c144..91746231b9 100644 --- a/kubernetes_asyncio/client/models/v1_pod_scheduling_gate.py +++ b/kubernetes/aio/client/models/v1_pod_scheduling_gate.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodSchedulingGate(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_scheduling_group.py b/kubernetes/aio/client/models/v1_pod_scheduling_group.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_scheduling_group.py rename to kubernetes/aio/client/models/v1_pod_scheduling_group.py index 513a71c60e..742543841e 100644 --- a/kubernetes_asyncio/client/models/v1_pod_scheduling_group.py +++ b/kubernetes/aio/client/models/v1_pod_scheduling_group.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodSchedulingGroup(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_security_context.py b/kubernetes/aio/client/models/v1_pod_security_context.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_security_context.py rename to kubernetes/aio/client/models/v1_pod_security_context.py index 86bd981b05..60c8eb8e87 100644 --- a/kubernetes_asyncio/client/models/v1_pod_security_context.py +++ b/kubernetes/aio/client/models/v1_pod_security_context.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodSecurityContext(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_spec.py b/kubernetes/aio/client/models/v1_pod_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_spec.py rename to kubernetes/aio/client/models/v1_pod_spec.py index ebfdca8ea1..2d5c568883 100644 --- a/kubernetes_asyncio/client/models/v1_pod_spec.py +++ b/kubernetes/aio/client/models/v1_pod_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_status.py b/kubernetes/aio/client/models/v1_pod_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_status.py rename to kubernetes/aio/client/models/v1_pod_status.py index b1b84321d7..39eb483d5b 100644 --- a/kubernetes_asyncio/client/models/v1_pod_status.py +++ b/kubernetes/aio/client/models/v1_pod_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_template.py b/kubernetes/aio/client/models/v1_pod_template.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_template.py rename to kubernetes/aio/client/models/v1_pod_template.py index 41e145c735..669a34660a 100644 --- a/kubernetes_asyncio/client/models/v1_pod_template.py +++ b/kubernetes/aio/client/models/v1_pod_template.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodTemplate(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_template_list.py b/kubernetes/aio/client/models/v1_pod_template_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_pod_template_list.py rename to kubernetes/aio/client/models/v1_pod_template_list.py index d6034472fd..13b508ee09 100644 --- a/kubernetes_asyncio/client/models/v1_pod_template_list.py +++ b/kubernetes/aio/client/models/v1_pod_template_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodTemplateList(object): diff --git a/kubernetes_asyncio/client/models/v1_pod_template_spec.py b/kubernetes/aio/client/models/v1_pod_template_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_pod_template_spec.py rename to kubernetes/aio/client/models/v1_pod_template_spec.py index 340fb74090..3ae8d953e4 100644 --- a/kubernetes_asyncio/client/models/v1_pod_template_spec.py +++ b/kubernetes/aio/client/models/v1_pod_template_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PodTemplateSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_policy_rule.py b/kubernetes/aio/client/models/v1_policy_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_policy_rule.py rename to kubernetes/aio/client/models/v1_policy_rule.py index 69a005e0d4..2a40a154a8 100644 --- a/kubernetes_asyncio/client/models/v1_policy_rule.py +++ b/kubernetes/aio/client/models/v1_policy_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PolicyRule(object): diff --git a/kubernetes_asyncio/client/models/v1_policy_rules_with_subjects.py b/kubernetes/aio/client/models/v1_policy_rules_with_subjects.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_policy_rules_with_subjects.py rename to kubernetes/aio/client/models/v1_policy_rules_with_subjects.py index 6cdccc440d..4d6be60492 100644 --- a/kubernetes_asyncio/client/models/v1_policy_rules_with_subjects.py +++ b/kubernetes/aio/client/models/v1_policy_rules_with_subjects.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PolicyRulesWithSubjects(object): diff --git a/kubernetes_asyncio/client/models/v1_port_status.py b/kubernetes/aio/client/models/v1_port_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_port_status.py rename to kubernetes/aio/client/models/v1_port_status.py index e637d614fa..af9a6053f4 100644 --- a/kubernetes_asyncio/client/models/v1_port_status.py +++ b/kubernetes/aio/client/models/v1_port_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PortStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_portworx_volume_source.py b/kubernetes/aio/client/models/v1_portworx_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_portworx_volume_source.py rename to kubernetes/aio/client/models/v1_portworx_volume_source.py index cdf0113f95..ad30ac664d 100644 --- a/kubernetes_asyncio/client/models/v1_portworx_volume_source.py +++ b/kubernetes/aio/client/models/v1_portworx_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PortworxVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_preconditions.py b/kubernetes/aio/client/models/v1_preconditions.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_preconditions.py rename to kubernetes/aio/client/models/v1_preconditions.py index f15a0c20e9..4319c9bcc6 100644 --- a/kubernetes_asyncio/client/models/v1_preconditions.py +++ b/kubernetes/aio/client/models/v1_preconditions.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Preconditions(object): diff --git a/kubernetes_asyncio/client/models/v1_preferred_scheduling_term.py b/kubernetes/aio/client/models/v1_preferred_scheduling_term.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_preferred_scheduling_term.py rename to kubernetes/aio/client/models/v1_preferred_scheduling_term.py index 0fa9e065fa..2a3c7135e7 100644 --- a/kubernetes_asyncio/client/models/v1_preferred_scheduling_term.py +++ b/kubernetes/aio/client/models/v1_preferred_scheduling_term.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PreferredSchedulingTerm(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_class.py b/kubernetes/aio/client/models/v1_priority_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_priority_class.py rename to kubernetes/aio/client/models/v1_priority_class.py index 5b101d30fb..273a2f810b 100644 --- a/kubernetes_asyncio/client/models/v1_priority_class.py +++ b/kubernetes/aio/client/models/v1_priority_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityClass(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_class_list.py b/kubernetes/aio/client/models/v1_priority_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_priority_class_list.py rename to kubernetes/aio/client/models/v1_priority_class_list.py index e0c4961c2d..d8f69ba42e 100644 --- a/kubernetes_asyncio/client/models/v1_priority_class_list.py +++ b/kubernetes/aio/client/models/v1_priority_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityClassList(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration.py b/kubernetes/aio/client/models/v1_priority_level_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_priority_level_configuration.py rename to kubernetes/aio/client/models/v1_priority_level_configuration.py index 61fc32d8da..80787905ab 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration.py +++ b/kubernetes/aio/client/models/v1_priority_level_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityLevelConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_condition.py b/kubernetes/aio/client/models/v1_priority_level_configuration_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_priority_level_configuration_condition.py rename to kubernetes/aio/client/models/v1_priority_level_configuration_condition.py index 3d154f6dff..6ff15ee7e4 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_condition.py +++ b/kubernetes/aio/client/models/v1_priority_level_configuration_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityLevelConfigurationCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_list.py b/kubernetes/aio/client/models/v1_priority_level_configuration_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_priority_level_configuration_list.py rename to kubernetes/aio/client/models/v1_priority_level_configuration_list.py index 0947eacdac..f44faf9c60 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_list.py +++ b/kubernetes/aio/client/models/v1_priority_level_configuration_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityLevelConfigurationList(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_reference.py b/kubernetes/aio/client/models/v1_priority_level_configuration_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_priority_level_configuration_reference.py rename to kubernetes/aio/client/models/v1_priority_level_configuration_reference.py index 7472b8b26e..0ce21f8d77 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_reference.py +++ b/kubernetes/aio/client/models/v1_priority_level_configuration_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityLevelConfigurationReference(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_spec.py b/kubernetes/aio/client/models/v1_priority_level_configuration_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_priority_level_configuration_spec.py rename to kubernetes/aio/client/models/v1_priority_level_configuration_spec.py index 13d1052349..1b3ac842a0 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_spec.py +++ b/kubernetes/aio/client/models/v1_priority_level_configuration_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityLevelConfigurationSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_status.py b/kubernetes/aio/client/models/v1_priority_level_configuration_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_priority_level_configuration_status.py rename to kubernetes/aio/client/models/v1_priority_level_configuration_status.py index b515057481..b2d4d1b022 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_status.py +++ b/kubernetes/aio/client/models/v1_priority_level_configuration_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1PriorityLevelConfigurationStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_probe.py b/kubernetes/aio/client/models/v1_probe.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_probe.py rename to kubernetes/aio/client/models/v1_probe.py index 0ba5adb8ad..b30b120313 100644 --- a/kubernetes_asyncio/client/models/v1_probe.py +++ b/kubernetes/aio/client/models/v1_probe.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Probe(object): diff --git a/kubernetes_asyncio/client/models/v1_projected_volume_source.py b/kubernetes/aio/client/models/v1_projected_volume_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_projected_volume_source.py rename to kubernetes/aio/client/models/v1_projected_volume_source.py index 9ad364303c..c8fd4e844c 100644 --- a/kubernetes_asyncio/client/models/v1_projected_volume_source.py +++ b/kubernetes/aio/client/models/v1_projected_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ProjectedVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_queuing_configuration.py b/kubernetes/aio/client/models/v1_queuing_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_queuing_configuration.py rename to kubernetes/aio/client/models/v1_queuing_configuration.py index 942ce289c2..f8c59f3bce 100644 --- a/kubernetes_asyncio/client/models/v1_queuing_configuration.py +++ b/kubernetes/aio/client/models/v1_queuing_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1QueuingConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_quobyte_volume_source.py b/kubernetes/aio/client/models/v1_quobyte_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_quobyte_volume_source.py rename to kubernetes/aio/client/models/v1_quobyte_volume_source.py index 334276d777..3d9a1d1ece 100644 --- a/kubernetes_asyncio/client/models/v1_quobyte_volume_source.py +++ b/kubernetes/aio/client/models/v1_quobyte_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1QuobyteVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_rbd_persistent_volume_source.py b/kubernetes/aio/client/models/v1_rbd_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_rbd_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_rbd_persistent_volume_source.py index 5bdc3bcef4..38aa518675 100644 --- a/kubernetes_asyncio/client/models/v1_rbd_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_rbd_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RBDPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_rbd_volume_source.py b/kubernetes/aio/client/models/v1_rbd_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_rbd_volume_source.py rename to kubernetes/aio/client/models/v1_rbd_volume_source.py index 3d7de923c2..a8e36aa4de 100644 --- a/kubernetes_asyncio/client/models/v1_rbd_volume_source.py +++ b/kubernetes/aio/client/models/v1_rbd_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RBDVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_replica_set.py b/kubernetes/aio/client/models/v1_replica_set.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replica_set.py rename to kubernetes/aio/client/models/v1_replica_set.py index 59d2d890dc..a51eef0957 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set.py +++ b/kubernetes/aio/client/models/v1_replica_set.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicaSet(object): diff --git a/kubernetes_asyncio/client/models/v1_replica_set_condition.py b/kubernetes/aio/client/models/v1_replica_set_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replica_set_condition.py rename to kubernetes/aio/client/models/v1_replica_set_condition.py index c7a8f62dbc..3f9265e395 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_condition.py +++ b/kubernetes/aio/client/models/v1_replica_set_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicaSetCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_replica_set_list.py b/kubernetes/aio/client/models/v1_replica_set_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replica_set_list.py rename to kubernetes/aio/client/models/v1_replica_set_list.py index 9b97dc1fa1..95aaed46ed 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_list.py +++ b/kubernetes/aio/client/models/v1_replica_set_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicaSetList(object): diff --git a/kubernetes_asyncio/client/models/v1_replica_set_spec.py b/kubernetes/aio/client/models/v1_replica_set_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replica_set_spec.py rename to kubernetes/aio/client/models/v1_replica_set_spec.py index bf18dad752..f276d7b7e0 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_spec.py +++ b/kubernetes/aio/client/models/v1_replica_set_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicaSetSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_replica_set_status.py b/kubernetes/aio/client/models/v1_replica_set_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replica_set_status.py rename to kubernetes/aio/client/models/v1_replica_set_status.py index cb9a2d79cc..8e21ca24d6 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_status.py +++ b/kubernetes/aio/client/models/v1_replica_set_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicaSetStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_replication_controller.py b/kubernetes/aio/client/models/v1_replication_controller.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replication_controller.py rename to kubernetes/aio/client/models/v1_replication_controller.py index e3273787ef..06cf2432f0 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller.py +++ b/kubernetes/aio/client/models/v1_replication_controller.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicationController(object): diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_condition.py b/kubernetes/aio/client/models/v1_replication_controller_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replication_controller_condition.py rename to kubernetes/aio/client/models/v1_replication_controller_condition.py index 82a60c9b6c..daab46c0f1 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_condition.py +++ b/kubernetes/aio/client/models/v1_replication_controller_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicationControllerCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_list.py b/kubernetes/aio/client/models/v1_replication_controller_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replication_controller_list.py rename to kubernetes/aio/client/models/v1_replication_controller_list.py index b975ad13d9..c560c63e35 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_list.py +++ b/kubernetes/aio/client/models/v1_replication_controller_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicationControllerList(object): diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_spec.py b/kubernetes/aio/client/models/v1_replication_controller_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replication_controller_spec.py rename to kubernetes/aio/client/models/v1_replication_controller_spec.py index eb2962f4c8..b56fac9ee9 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_spec.py +++ b/kubernetes/aio/client/models/v1_replication_controller_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicationControllerSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_status.py b/kubernetes/aio/client/models/v1_replication_controller_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_replication_controller_status.py rename to kubernetes/aio/client/models/v1_replication_controller_status.py index 3bb89d9e95..a85a3aaccd 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_status.py +++ b/kubernetes/aio/client/models/v1_replication_controller_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ReplicationControllerStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_attributes.py b/kubernetes/aio/client/models/v1_resource_attributes.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_attributes.py rename to kubernetes/aio/client/models/v1_resource_attributes.py index d6761cf13c..82db4a8b67 100644 --- a/kubernetes_asyncio/client/models/v1_resource_attributes.py +++ b/kubernetes/aio/client/models/v1_resource_attributes.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceAttributes(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_claim_consumer_reference.py b/kubernetes/aio/client/models/v1_resource_claim_consumer_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_claim_consumer_reference.py rename to kubernetes/aio/client/models/v1_resource_claim_consumer_reference.py index bd2f9ed86c..6098df1638 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim_consumer_reference.py +++ b/kubernetes/aio/client/models/v1_resource_claim_consumer_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceClaimConsumerReference(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_claim_list.py b/kubernetes/aio/client/models/v1_resource_claim_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_claim_list.py rename to kubernetes/aio/client/models/v1_resource_claim_list.py index c7d6bc560c..9e4147050d 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim_list.py +++ b/kubernetes/aio/client/models/v1_resource_claim_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceClaimList(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_claim_spec.py b/kubernetes/aio/client/models/v1_resource_claim_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_resource_claim_spec.py rename to kubernetes/aio/client/models/v1_resource_claim_spec.py index b9d0d0dbaf..3d0919c18b 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim_spec.py +++ b/kubernetes/aio/client/models/v1_resource_claim_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceClaimSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_claim_status.py b/kubernetes/aio/client/models/v1_resource_claim_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_claim_status.py rename to kubernetes/aio/client/models/v1_resource_claim_status.py index bbfe99da40..9ee77ede62 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim_status.py +++ b/kubernetes/aio/client/models/v1_resource_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_claim_template.py b/kubernetes/aio/client/models/v1_resource_claim_template.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_claim_template.py rename to kubernetes/aio/client/models/v1_resource_claim_template.py index ba720a049d..f4862b76dc 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim_template.py +++ b/kubernetes/aio/client/models/v1_resource_claim_template.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceClaimTemplate(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_claim_template_list.py b/kubernetes/aio/client/models/v1_resource_claim_template_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_claim_template_list.py rename to kubernetes/aio/client/models/v1_resource_claim_template_list.py index 4be09c98d0..65a4157526 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim_template_list.py +++ b/kubernetes/aio/client/models/v1_resource_claim_template_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceClaimTemplateList(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_claim_template_spec.py b/kubernetes/aio/client/models/v1_resource_claim_template_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_resource_claim_template_spec.py rename to kubernetes/aio/client/models/v1_resource_claim_template_spec.py index c41b7cc041..8707689533 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim_template_spec.py +++ b/kubernetes/aio/client/models/v1_resource_claim_template_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceClaimTemplateSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_field_selector.py b/kubernetes/aio/client/models/v1_resource_field_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_resource_field_selector.py rename to kubernetes/aio/client/models/v1_resource_field_selector.py index 9940b3d010..634b42ad47 100644 --- a/kubernetes_asyncio/client/models/v1_resource_field_selector.py +++ b/kubernetes/aio/client/models/v1_resource_field_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceFieldSelector(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_health.py b/kubernetes/aio/client/models/v1_resource_health.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_health.py rename to kubernetes/aio/client/models/v1_resource_health.py index c76088aec9..571519f0c8 100644 --- a/kubernetes_asyncio/client/models/v1_resource_health.py +++ b/kubernetes/aio/client/models/v1_resource_health.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceHealth(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_policy_rule.py b/kubernetes/aio/client/models/v1_resource_policy_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_policy_rule.py rename to kubernetes/aio/client/models/v1_resource_policy_rule.py index 463958ef42..1f8f8af949 100644 --- a/kubernetes_asyncio/client/models/v1_resource_policy_rule.py +++ b/kubernetes/aio/client/models/v1_resource_policy_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourcePolicyRule(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_pool.py b/kubernetes/aio/client/models/v1_resource_pool.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_pool.py rename to kubernetes/aio/client/models/v1_resource_pool.py index a1ff438e55..13f668432e 100644 --- a/kubernetes_asyncio/client/models/v1_resource_pool.py +++ b/kubernetes/aio/client/models/v1_resource_pool.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourcePool(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_quota.py b/kubernetes/aio/client/models/v1_resource_quota.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_quota.py rename to kubernetes/aio/client/models/v1_resource_quota.py index e7484fe531..21720b5d7f 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota.py +++ b/kubernetes/aio/client/models/v1_resource_quota.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceQuota(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_quota_list.py b/kubernetes/aio/client/models/v1_resource_quota_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_quota_list.py rename to kubernetes/aio/client/models/v1_resource_quota_list.py index 42b3c932ff..6c9013d904 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota_list.py +++ b/kubernetes/aio/client/models/v1_resource_quota_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceQuotaList(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_quota_spec.py b/kubernetes/aio/client/models/v1_resource_quota_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_resource_quota_spec.py rename to kubernetes/aio/client/models/v1_resource_quota_spec.py index e675c1916a..266556d270 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota_spec.py +++ b/kubernetes/aio/client/models/v1_resource_quota_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceQuotaSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_quota_status.py b/kubernetes/aio/client/models/v1_resource_quota_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_resource_quota_status.py rename to kubernetes/aio/client/models/v1_resource_quota_status.py index 1320b69e8d..4f6033dbbe 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota_status.py +++ b/kubernetes/aio/client/models/v1_resource_quota_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceQuotaStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_requirements.py b/kubernetes/aio/client/models/v1_resource_requirements.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_requirements.py rename to kubernetes/aio/client/models/v1_resource_requirements.py index 1f2cd2d7db..fe686e1415 100644 --- a/kubernetes_asyncio/client/models/v1_resource_requirements.py +++ b/kubernetes/aio/client/models/v1_resource_requirements.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceRequirements(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_rule.py b/kubernetes/aio/client/models/v1_resource_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_rule.py rename to kubernetes/aio/client/models/v1_resource_rule.py index 8c363e2ba2..e72623b9d5 100644 --- a/kubernetes_asyncio/client/models/v1_resource_rule.py +++ b/kubernetes/aio/client/models/v1_resource_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceRule(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_slice.py b/kubernetes/aio/client/models/v1_resource_slice.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_slice.py rename to kubernetes/aio/client/models/v1_resource_slice.py index 7630902cc9..d391528e94 100644 --- a/kubernetes_asyncio/client/models/v1_resource_slice.py +++ b/kubernetes/aio/client/models/v1_resource_slice.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceSlice(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_slice_list.py b/kubernetes/aio/client/models/v1_resource_slice_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_slice_list.py rename to kubernetes/aio/client/models/v1_resource_slice_list.py index 2eab0c7cc4..0222872645 100644 --- a/kubernetes_asyncio/client/models/v1_resource_slice_list.py +++ b/kubernetes/aio/client/models/v1_resource_slice_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceSliceList(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_slice_spec.py b/kubernetes/aio/client/models/v1_resource_slice_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_resource_slice_spec.py rename to kubernetes/aio/client/models/v1_resource_slice_spec.py index 40480f3489..f017db40cf 100644 --- a/kubernetes_asyncio/client/models/v1_resource_slice_spec.py +++ b/kubernetes/aio/client/models/v1_resource_slice_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceSliceSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_resource_status.py b/kubernetes/aio/client/models/v1_resource_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_resource_status.py rename to kubernetes/aio/client/models/v1_resource_status.py index b95e61102c..be800a09d4 100644 --- a/kubernetes_asyncio/client/models/v1_resource_status.py +++ b/kubernetes/aio/client/models/v1_resource_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ResourceStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_role.py b/kubernetes/aio/client/models/v1_role.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_role.py rename to kubernetes/aio/client/models/v1_role.py index 33d62eb308..85cc4d2271 100644 --- a/kubernetes_asyncio/client/models/v1_role.py +++ b/kubernetes/aio/client/models/v1_role.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Role(object): diff --git a/kubernetes_asyncio/client/models/v1_role_binding.py b/kubernetes/aio/client/models/v1_role_binding.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_role_binding.py rename to kubernetes/aio/client/models/v1_role_binding.py index 8cc195b8aa..f139991520 100644 --- a/kubernetes_asyncio/client/models/v1_role_binding.py +++ b/kubernetes/aio/client/models/v1_role_binding.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RoleBinding(object): diff --git a/kubernetes_asyncio/client/models/v1_role_binding_list.py b/kubernetes/aio/client/models/v1_role_binding_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_role_binding_list.py rename to kubernetes/aio/client/models/v1_role_binding_list.py index ec0592d827..c3a203cab1 100644 --- a/kubernetes_asyncio/client/models/v1_role_binding_list.py +++ b/kubernetes/aio/client/models/v1_role_binding_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RoleBindingList(object): diff --git a/kubernetes_asyncio/client/models/v1_role_list.py b/kubernetes/aio/client/models/v1_role_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_role_list.py rename to kubernetes/aio/client/models/v1_role_list.py index b75bc09917..24411d1722 100644 --- a/kubernetes_asyncio/client/models/v1_role_list.py +++ b/kubernetes/aio/client/models/v1_role_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RoleList(object): diff --git a/kubernetes_asyncio/client/models/v1_role_ref.py b/kubernetes/aio/client/models/v1_role_ref.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_role_ref.py rename to kubernetes/aio/client/models/v1_role_ref.py index f3af05b0f5..c3ba81d2f2 100644 --- a/kubernetes_asyncio/client/models/v1_role_ref.py +++ b/kubernetes/aio/client/models/v1_role_ref.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RoleRef(object): diff --git a/kubernetes_asyncio/client/models/v1_rolling_update_daemon_set.py b/kubernetes/aio/client/models/v1_rolling_update_daemon_set.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_rolling_update_daemon_set.py rename to kubernetes/aio/client/models/v1_rolling_update_daemon_set.py index b565bfbd30..0d6b5e5b35 100644 --- a/kubernetes_asyncio/client/models/v1_rolling_update_daemon_set.py +++ b/kubernetes/aio/client/models/v1_rolling_update_daemon_set.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RollingUpdateDaemonSet(object): diff --git a/kubernetes_asyncio/client/models/v1_rolling_update_deployment.py b/kubernetes/aio/client/models/v1_rolling_update_deployment.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_rolling_update_deployment.py rename to kubernetes/aio/client/models/v1_rolling_update_deployment.py index 252f05c156..2b0f7cf353 100644 --- a/kubernetes_asyncio/client/models/v1_rolling_update_deployment.py +++ b/kubernetes/aio/client/models/v1_rolling_update_deployment.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RollingUpdateDeployment(object): diff --git a/kubernetes_asyncio/client/models/v1_rolling_update_stateful_set_strategy.py b/kubernetes/aio/client/models/v1_rolling_update_stateful_set_strategy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_rolling_update_stateful_set_strategy.py rename to kubernetes/aio/client/models/v1_rolling_update_stateful_set_strategy.py index 765a42c7a1..ca8cb0168d 100644 --- a/kubernetes_asyncio/client/models/v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/aio/client/models/v1_rolling_update_stateful_set_strategy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RollingUpdateStatefulSetStrategy(object): diff --git a/kubernetes_asyncio/client/models/v1_rule_with_operations.py b/kubernetes/aio/client/models/v1_rule_with_operations.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_rule_with_operations.py rename to kubernetes/aio/client/models/v1_rule_with_operations.py index 702368ba87..73aad0eb8b 100644 --- a/kubernetes_asyncio/client/models/v1_rule_with_operations.py +++ b/kubernetes/aio/client/models/v1_rule_with_operations.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RuleWithOperations(object): diff --git a/kubernetes_asyncio/client/models/v1_runtime_class.py b/kubernetes/aio/client/models/v1_runtime_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_runtime_class.py rename to kubernetes/aio/client/models/v1_runtime_class.py index 6182c338dc..0bdf40f534 100644 --- a/kubernetes_asyncio/client/models/v1_runtime_class.py +++ b/kubernetes/aio/client/models/v1_runtime_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RuntimeClass(object): diff --git a/kubernetes_asyncio/client/models/v1_runtime_class_list.py b/kubernetes/aio/client/models/v1_runtime_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_runtime_class_list.py rename to kubernetes/aio/client/models/v1_runtime_class_list.py index 0e97e8fb2a..8a0f1ae0ac 100644 --- a/kubernetes_asyncio/client/models/v1_runtime_class_list.py +++ b/kubernetes/aio/client/models/v1_runtime_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1RuntimeClassList(object): diff --git a/kubernetes_asyncio/client/models/v1_scale.py b/kubernetes/aio/client/models/v1_scale.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_scale.py rename to kubernetes/aio/client/models/v1_scale.py index 9d5c8141e0..ac6fa3d777 100644 --- a/kubernetes_asyncio/client/models/v1_scale.py +++ b/kubernetes/aio/client/models/v1_scale.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Scale(object): diff --git a/kubernetes_asyncio/client/models/v1_scale_io_persistent_volume_source.py b/kubernetes/aio/client/models/v1_scale_io_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_scale_io_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_scale_io_persistent_volume_source.py index 0ba3a7da6f..98e8284726 100644 --- a/kubernetes_asyncio/client/models/v1_scale_io_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_scale_io_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ScaleIOPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_scale_io_volume_source.py b/kubernetes/aio/client/models/v1_scale_io_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_scale_io_volume_source.py rename to kubernetes/aio/client/models/v1_scale_io_volume_source.py index 2aaaeb0d1d..cc0423979e 100644 --- a/kubernetes_asyncio/client/models/v1_scale_io_volume_source.py +++ b/kubernetes/aio/client/models/v1_scale_io_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ScaleIOVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_scale_spec.py b/kubernetes/aio/client/models/v1_scale_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_scale_spec.py rename to kubernetes/aio/client/models/v1_scale_spec.py index e11bdcb0d3..dd8ff81a30 100644 --- a/kubernetes_asyncio/client/models/v1_scale_spec.py +++ b/kubernetes/aio/client/models/v1_scale_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ScaleSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_scale_status.py b/kubernetes/aio/client/models/v1_scale_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_scale_status.py rename to kubernetes/aio/client/models/v1_scale_status.py index f5231ad922..17746ea519 100644 --- a/kubernetes_asyncio/client/models/v1_scale_status.py +++ b/kubernetes/aio/client/models/v1_scale_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ScaleStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_scheduling.py b/kubernetes/aio/client/models/v1_scheduling.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_scheduling.py rename to kubernetes/aio/client/models/v1_scheduling.py index 57f3d4a8b0..d420c719d7 100644 --- a/kubernetes_asyncio/client/models/v1_scheduling.py +++ b/kubernetes/aio/client/models/v1_scheduling.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Scheduling(object): diff --git a/kubernetes_asyncio/client/models/v1_scope_selector.py b/kubernetes/aio/client/models/v1_scope_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_scope_selector.py rename to kubernetes/aio/client/models/v1_scope_selector.py index 4b843cbdc0..4f1a41e18c 100644 --- a/kubernetes_asyncio/client/models/v1_scope_selector.py +++ b/kubernetes/aio/client/models/v1_scope_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ScopeSelector(object): diff --git a/kubernetes_asyncio/client/models/v1_scoped_resource_selector_requirement.py b/kubernetes/aio/client/models/v1_scoped_resource_selector_requirement.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_scoped_resource_selector_requirement.py rename to kubernetes/aio/client/models/v1_scoped_resource_selector_requirement.py index 1659ea5ce3..b3c0875d7d 100644 --- a/kubernetes_asyncio/client/models/v1_scoped_resource_selector_requirement.py +++ b/kubernetes/aio/client/models/v1_scoped_resource_selector_requirement.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ScopedResourceSelectorRequirement(object): diff --git a/kubernetes_asyncio/client/models/v1_se_linux_options.py b/kubernetes/aio/client/models/v1_se_linux_options.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_se_linux_options.py rename to kubernetes/aio/client/models/v1_se_linux_options.py index efbe5db99f..6574c76c7f 100644 --- a/kubernetes_asyncio/client/models/v1_se_linux_options.py +++ b/kubernetes/aio/client/models/v1_se_linux_options.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SELinuxOptions(object): diff --git a/kubernetes_asyncio/client/models/v1_seccomp_profile.py b/kubernetes/aio/client/models/v1_seccomp_profile.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_seccomp_profile.py rename to kubernetes/aio/client/models/v1_seccomp_profile.py index 0d8610a052..29c6ad4df1 100644 --- a/kubernetes_asyncio/client/models/v1_seccomp_profile.py +++ b/kubernetes/aio/client/models/v1_seccomp_profile.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SeccompProfile(object): diff --git a/kubernetes_asyncio/client/models/v1_secret.py b/kubernetes/aio/client/models/v1_secret.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_secret.py rename to kubernetes/aio/client/models/v1_secret.py index 359cb12649..c7fdbfe0bf 100644 --- a/kubernetes_asyncio/client/models/v1_secret.py +++ b/kubernetes/aio/client/models/v1_secret.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Secret(object): diff --git a/kubernetes_asyncio/client/models/v1_secret_env_source.py b/kubernetes/aio/client/models/v1_secret_env_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_secret_env_source.py rename to kubernetes/aio/client/models/v1_secret_env_source.py index d6b7988fe4..039b41e0fb 100644 --- a/kubernetes_asyncio/client/models/v1_secret_env_source.py +++ b/kubernetes/aio/client/models/v1_secret_env_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SecretEnvSource(object): diff --git a/kubernetes_asyncio/client/models/v1_secret_key_selector.py b/kubernetes/aio/client/models/v1_secret_key_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_secret_key_selector.py rename to kubernetes/aio/client/models/v1_secret_key_selector.py index 9ecc1f32b1..a3cb802594 100644 --- a/kubernetes_asyncio/client/models/v1_secret_key_selector.py +++ b/kubernetes/aio/client/models/v1_secret_key_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SecretKeySelector(object): diff --git a/kubernetes_asyncio/client/models/v1_secret_list.py b/kubernetes/aio/client/models/v1_secret_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_secret_list.py rename to kubernetes/aio/client/models/v1_secret_list.py index d4b8f99339..03967ea5c7 100644 --- a/kubernetes_asyncio/client/models/v1_secret_list.py +++ b/kubernetes/aio/client/models/v1_secret_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SecretList(object): diff --git a/kubernetes_asyncio/client/models/v1_secret_projection.py b/kubernetes/aio/client/models/v1_secret_projection.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_secret_projection.py rename to kubernetes/aio/client/models/v1_secret_projection.py index d3e192734a..04ea1c8902 100644 --- a/kubernetes_asyncio/client/models/v1_secret_projection.py +++ b/kubernetes/aio/client/models/v1_secret_projection.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SecretProjection(object): diff --git a/kubernetes_asyncio/client/models/v1_secret_reference.py b/kubernetes/aio/client/models/v1_secret_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_secret_reference.py rename to kubernetes/aio/client/models/v1_secret_reference.py index fbab6a74c6..2d7423e29c 100644 --- a/kubernetes_asyncio/client/models/v1_secret_reference.py +++ b/kubernetes/aio/client/models/v1_secret_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SecretReference(object): diff --git a/kubernetes_asyncio/client/models/v1_secret_volume_source.py b/kubernetes/aio/client/models/v1_secret_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_secret_volume_source.py rename to kubernetes/aio/client/models/v1_secret_volume_source.py index de71945f51..023774ddf0 100644 --- a/kubernetes_asyncio/client/models/v1_secret_volume_source.py +++ b/kubernetes/aio/client/models/v1_secret_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SecretVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_security_context.py b/kubernetes/aio/client/models/v1_security_context.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_security_context.py rename to kubernetes/aio/client/models/v1_security_context.py index cef3840360..9e91e8bfff 100644 --- a/kubernetes_asyncio/client/models/v1_security_context.py +++ b/kubernetes/aio/client/models/v1_security_context.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SecurityContext(object): diff --git a/kubernetes_asyncio/client/models/v1_selectable_field.py b/kubernetes/aio/client/models/v1_selectable_field.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_selectable_field.py rename to kubernetes/aio/client/models/v1_selectable_field.py index f8b1287da2..18a95ae2c7 100644 --- a/kubernetes_asyncio/client/models/v1_selectable_field.py +++ b/kubernetes/aio/client/models/v1_selectable_field.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SelectableField(object): diff --git a/kubernetes_asyncio/client/models/v1_self_subject_access_review.py b/kubernetes/aio/client/models/v1_self_subject_access_review.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_self_subject_access_review.py rename to kubernetes/aio/client/models/v1_self_subject_access_review.py index b1f8ff4bb5..5e9c17437f 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_access_review.py +++ b/kubernetes/aio/client/models/v1_self_subject_access_review.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SelfSubjectAccessReview(object): diff --git a/kubernetes_asyncio/client/models/v1_self_subject_access_review_spec.py b/kubernetes/aio/client/models/v1_self_subject_access_review_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_self_subject_access_review_spec.py rename to kubernetes/aio/client/models/v1_self_subject_access_review_spec.py index 52755e162b..6cc407ce30 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_access_review_spec.py +++ b/kubernetes/aio/client/models/v1_self_subject_access_review_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SelfSubjectAccessReviewSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_self_subject_review.py b/kubernetes/aio/client/models/v1_self_subject_review.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_self_subject_review.py rename to kubernetes/aio/client/models/v1_self_subject_review.py index 6fb1389b9e..e313334d4e 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_review.py +++ b/kubernetes/aio/client/models/v1_self_subject_review.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SelfSubjectReview(object): diff --git a/kubernetes_asyncio/client/models/v1_self_subject_review_status.py b/kubernetes/aio/client/models/v1_self_subject_review_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_self_subject_review_status.py rename to kubernetes/aio/client/models/v1_self_subject_review_status.py index 1f0fd86faa..595bb92928 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_review_status.py +++ b/kubernetes/aio/client/models/v1_self_subject_review_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SelfSubjectReviewStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_self_subject_rules_review.py b/kubernetes/aio/client/models/v1_self_subject_rules_review.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_self_subject_rules_review.py rename to kubernetes/aio/client/models/v1_self_subject_rules_review.py index ed21719141..16baac51dd 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_rules_review.py +++ b/kubernetes/aio/client/models/v1_self_subject_rules_review.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SelfSubjectRulesReview(object): diff --git a/kubernetes_asyncio/client/models/v1_self_subject_rules_review_spec.py b/kubernetes/aio/client/models/v1_self_subject_rules_review_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_self_subject_rules_review_spec.py rename to kubernetes/aio/client/models/v1_self_subject_rules_review_spec.py index 7bd25ea566..983580fd95 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_rules_review_spec.py +++ b/kubernetes/aio/client/models/v1_self_subject_rules_review_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SelfSubjectRulesReviewSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_server_address_by_client_cidr.py b/kubernetes/aio/client/models/v1_server_address_by_client_cidr.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_server_address_by_client_cidr.py rename to kubernetes/aio/client/models/v1_server_address_by_client_cidr.py index 05ec5d53c7..ad7ba28751 100644 --- a/kubernetes_asyncio/client/models/v1_server_address_by_client_cidr.py +++ b/kubernetes/aio/client/models/v1_server_address_by_client_cidr.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServerAddressByClientCIDR(object): diff --git a/kubernetes_asyncio/client/models/v1_service.py b/kubernetes/aio/client/models/v1_service.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service.py rename to kubernetes/aio/client/models/v1_service.py index 60807fdd40..402ef07dd2 100644 --- a/kubernetes_asyncio/client/models/v1_service.py +++ b/kubernetes/aio/client/models/v1_service.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Service(object): diff --git a/kubernetes_asyncio/client/models/v1_service_account.py b/kubernetes/aio/client/models/v1_service_account.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_account.py rename to kubernetes/aio/client/models/v1_service_account.py index cbe4dbf730..60b294f10e 100644 --- a/kubernetes_asyncio/client/models/v1_service_account.py +++ b/kubernetes/aio/client/models/v1_service_account.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceAccount(object): diff --git a/kubernetes_asyncio/client/models/v1_service_account_list.py b/kubernetes/aio/client/models/v1_service_account_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_account_list.py rename to kubernetes/aio/client/models/v1_service_account_list.py index 727716d839..267437d7c8 100644 --- a/kubernetes_asyncio/client/models/v1_service_account_list.py +++ b/kubernetes/aio/client/models/v1_service_account_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceAccountList(object): diff --git a/kubernetes_asyncio/client/models/v1_service_account_subject.py b/kubernetes/aio/client/models/v1_service_account_subject.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_service_account_subject.py rename to kubernetes/aio/client/models/v1_service_account_subject.py index f66f063eb0..a90ca53c73 100644 --- a/kubernetes_asyncio/client/models/v1_service_account_subject.py +++ b/kubernetes/aio/client/models/v1_service_account_subject.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceAccountSubject(object): diff --git a/kubernetes_asyncio/client/models/v1_service_account_token_projection.py b/kubernetes/aio/client/models/v1_service_account_token_projection.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_account_token_projection.py rename to kubernetes/aio/client/models/v1_service_account_token_projection.py index 34f6123865..84f1d3154c 100644 --- a/kubernetes_asyncio/client/models/v1_service_account_token_projection.py +++ b/kubernetes/aio/client/models/v1_service_account_token_projection.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceAccountTokenProjection(object): diff --git a/kubernetes_asyncio/client/models/v1_service_backend_port.py b/kubernetes/aio/client/models/v1_service_backend_port.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_service_backend_port.py rename to kubernetes/aio/client/models/v1_service_backend_port.py index e2a38afd38..6ae36b0466 100644 --- a/kubernetes_asyncio/client/models/v1_service_backend_port.py +++ b/kubernetes/aio/client/models/v1_service_backend_port.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceBackendPort(object): diff --git a/kubernetes_asyncio/client/models/v1_service_cidr.py b/kubernetes/aio/client/models/v1_service_cidr.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_cidr.py rename to kubernetes/aio/client/models/v1_service_cidr.py index b9b1911d28..5b365cca4b 100644 --- a/kubernetes_asyncio/client/models/v1_service_cidr.py +++ b/kubernetes/aio/client/models/v1_service_cidr.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceCIDR(object): diff --git a/kubernetes_asyncio/client/models/v1_service_cidr_list.py b/kubernetes/aio/client/models/v1_service_cidr_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_cidr_list.py rename to kubernetes/aio/client/models/v1_service_cidr_list.py index a9eeb786a1..b86057961d 100644 --- a/kubernetes_asyncio/client/models/v1_service_cidr_list.py +++ b/kubernetes/aio/client/models/v1_service_cidr_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceCIDRList(object): diff --git a/kubernetes_asyncio/client/models/v1_service_cidr_spec.py b/kubernetes/aio/client/models/v1_service_cidr_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_service_cidr_spec.py rename to kubernetes/aio/client/models/v1_service_cidr_spec.py index fb348fc3be..5b178ffe01 100644 --- a/kubernetes_asyncio/client/models/v1_service_cidr_spec.py +++ b/kubernetes/aio/client/models/v1_service_cidr_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceCIDRSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_service_cidr_status.py b/kubernetes/aio/client/models/v1_service_cidr_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_service_cidr_status.py rename to kubernetes/aio/client/models/v1_service_cidr_status.py index 4bdf459c04..2d5176d25a 100644 --- a/kubernetes_asyncio/client/models/v1_service_cidr_status.py +++ b/kubernetes/aio/client/models/v1_service_cidr_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceCIDRStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_service_list.py b/kubernetes/aio/client/models/v1_service_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_list.py rename to kubernetes/aio/client/models/v1_service_list.py index 068eb2e344..5fff279ee3 100644 --- a/kubernetes_asyncio/client/models/v1_service_list.py +++ b/kubernetes/aio/client/models/v1_service_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceList(object): diff --git a/kubernetes_asyncio/client/models/v1_service_port.py b/kubernetes/aio/client/models/v1_service_port.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_port.py rename to kubernetes/aio/client/models/v1_service_port.py index 16f729d983..a58777f142 100644 --- a/kubernetes_asyncio/client/models/v1_service_port.py +++ b/kubernetes/aio/client/models/v1_service_port.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServicePort(object): diff --git a/kubernetes_asyncio/client/models/v1_service_spec.py b/kubernetes/aio/client/models/v1_service_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_service_spec.py rename to kubernetes/aio/client/models/v1_service_spec.py index c88ad30a87..098ef34869 100644 --- a/kubernetes_asyncio/client/models/v1_service_spec.py +++ b/kubernetes/aio/client/models/v1_service_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_service_status.py b/kubernetes/aio/client/models/v1_service_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_service_status.py rename to kubernetes/aio/client/models/v1_service_status.py index 1db647169f..b306d7cf10 100644 --- a/kubernetes_asyncio/client/models/v1_service_status.py +++ b/kubernetes/aio/client/models/v1_service_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ServiceStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_session_affinity_config.py b/kubernetes/aio/client/models/v1_session_affinity_config.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_session_affinity_config.py rename to kubernetes/aio/client/models/v1_session_affinity_config.py index 2c30602514..23e6dbe9fe 100644 --- a/kubernetes_asyncio/client/models/v1_session_affinity_config.py +++ b/kubernetes/aio/client/models/v1_session_affinity_config.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SessionAffinityConfig(object): diff --git a/kubernetes_asyncio/client/models/v1_shard_info.py b/kubernetes/aio/client/models/v1_shard_info.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_shard_info.py rename to kubernetes/aio/client/models/v1_shard_info.py index e80ef93bf5..37831fed59 100644 --- a/kubernetes_asyncio/client/models/v1_shard_info.py +++ b/kubernetes/aio/client/models/v1_shard_info.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ShardInfo(object): diff --git a/kubernetes_asyncio/client/models/v1_sleep_action.py b/kubernetes/aio/client/models/v1_sleep_action.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_sleep_action.py rename to kubernetes/aio/client/models/v1_sleep_action.py index 75b0f8120a..af845ff3e2 100644 --- a/kubernetes_asyncio/client/models/v1_sleep_action.py +++ b/kubernetes/aio/client/models/v1_sleep_action.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SleepAction(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set.py b/kubernetes/aio/client/models/v1_stateful_set.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_stateful_set.py rename to kubernetes/aio/client/models/v1_stateful_set.py index 3a2dd7a645..26068ebb7a 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set.py +++ b/kubernetes/aio/client/models/v1_stateful_set.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSet(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_condition.py b/kubernetes/aio/client/models/v1_stateful_set_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_stateful_set_condition.py rename to kubernetes/aio/client/models/v1_stateful_set_condition.py index 71dc294c7b..a749abe416 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_condition.py +++ b/kubernetes/aio/client/models/v1_stateful_set_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSetCondition(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_list.py b/kubernetes/aio/client/models/v1_stateful_set_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_stateful_set_list.py rename to kubernetes/aio/client/models/v1_stateful_set_list.py index 02e2a3cfc5..68b940129b 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_list.py +++ b/kubernetes/aio/client/models/v1_stateful_set_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSetList(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_ordinals.py b/kubernetes/aio/client/models/v1_stateful_set_ordinals.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_stateful_set_ordinals.py rename to kubernetes/aio/client/models/v1_stateful_set_ordinals.py index 6f1a91cc0f..77f006d004 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_ordinals.py +++ b/kubernetes/aio/client/models/v1_stateful_set_ordinals.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSetOrdinals(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py b/kubernetes/aio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py rename to kubernetes/aio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py index eaf9becc1e..dc5c3501e9 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py +++ b/kubernetes/aio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSetPersistentVolumeClaimRetentionPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_spec.py b/kubernetes/aio/client/models/v1_stateful_set_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_stateful_set_spec.py rename to kubernetes/aio/client/models/v1_stateful_set_spec.py index dc6c54ff87..58ee98fbb2 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_spec.py +++ b/kubernetes/aio/client/models/v1_stateful_set_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSetSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_status.py b/kubernetes/aio/client/models/v1_stateful_set_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_stateful_set_status.py rename to kubernetes/aio/client/models/v1_stateful_set_status.py index b16ed71761..9e0416ddc8 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_status.py +++ b/kubernetes/aio/client/models/v1_stateful_set_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSetStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_update_strategy.py b/kubernetes/aio/client/models/v1_stateful_set_update_strategy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_stateful_set_update_strategy.py rename to kubernetes/aio/client/models/v1_stateful_set_update_strategy.py index b4a183b63c..059dde97c6 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_update_strategy.py +++ b/kubernetes/aio/client/models/v1_stateful_set_update_strategy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatefulSetUpdateStrategy(object): diff --git a/kubernetes_asyncio/client/models/v1_status.py b/kubernetes/aio/client/models/v1_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_status.py rename to kubernetes/aio/client/models/v1_status.py index 1d3f9963ff..b81d33f055 100644 --- a/kubernetes_asyncio/client/models/v1_status.py +++ b/kubernetes/aio/client/models/v1_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Status(object): diff --git a/kubernetes_asyncio/client/models/v1_status_cause.py b/kubernetes/aio/client/models/v1_status_cause.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_status_cause.py rename to kubernetes/aio/client/models/v1_status_cause.py index 09876c2500..67f889667d 100644 --- a/kubernetes_asyncio/client/models/v1_status_cause.py +++ b/kubernetes/aio/client/models/v1_status_cause.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatusCause(object): diff --git a/kubernetes_asyncio/client/models/v1_status_details.py b/kubernetes/aio/client/models/v1_status_details.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_status_details.py rename to kubernetes/aio/client/models/v1_status_details.py index ecf1123fba..37dcc7c017 100644 --- a/kubernetes_asyncio/client/models/v1_status_details.py +++ b/kubernetes/aio/client/models/v1_status_details.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StatusDetails(object): diff --git a/kubernetes_asyncio/client/models/v1_storage_class.py b/kubernetes/aio/client/models/v1_storage_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_storage_class.py rename to kubernetes/aio/client/models/v1_storage_class.py index c3369f632f..480de0682f 100644 --- a/kubernetes_asyncio/client/models/v1_storage_class.py +++ b/kubernetes/aio/client/models/v1_storage_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StorageClass(object): diff --git a/kubernetes_asyncio/client/models/v1_storage_class_list.py b/kubernetes/aio/client/models/v1_storage_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_storage_class_list.py rename to kubernetes/aio/client/models/v1_storage_class_list.py index 912e045944..9e3b105937 100644 --- a/kubernetes_asyncio/client/models/v1_storage_class_list.py +++ b/kubernetes/aio/client/models/v1_storage_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StorageClassList(object): diff --git a/kubernetes_asyncio/client/models/v1_storage_os_persistent_volume_source.py b/kubernetes/aio/client/models/v1_storage_os_persistent_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_storage_os_persistent_volume_source.py rename to kubernetes/aio/client/models/v1_storage_os_persistent_volume_source.py index 8cc203ee33..d5b78761b8 100644 --- a/kubernetes_asyncio/client/models/v1_storage_os_persistent_volume_source.py +++ b/kubernetes/aio/client/models/v1_storage_os_persistent_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StorageOSPersistentVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_storage_os_volume_source.py b/kubernetes/aio/client/models/v1_storage_os_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_storage_os_volume_source.py rename to kubernetes/aio/client/models/v1_storage_os_volume_source.py index 39d646e504..f1a04efb35 100644 --- a/kubernetes_asyncio/client/models/v1_storage_os_volume_source.py +++ b/kubernetes/aio/client/models/v1_storage_os_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1StorageOSVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_subject_access_review.py b/kubernetes/aio/client/models/v1_subject_access_review.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_subject_access_review.py rename to kubernetes/aio/client/models/v1_subject_access_review.py index 4fd73bfaa4..eef9a0b18e 100644 --- a/kubernetes_asyncio/client/models/v1_subject_access_review.py +++ b/kubernetes/aio/client/models/v1_subject_access_review.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SubjectAccessReview(object): diff --git a/kubernetes_asyncio/client/models/v1_subject_access_review_spec.py b/kubernetes/aio/client/models/v1_subject_access_review_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_subject_access_review_spec.py rename to kubernetes/aio/client/models/v1_subject_access_review_spec.py index f5865784e0..82c3b1cb38 100644 --- a/kubernetes_asyncio/client/models/v1_subject_access_review_spec.py +++ b/kubernetes/aio/client/models/v1_subject_access_review_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SubjectAccessReviewSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_subject_access_review_status.py b/kubernetes/aio/client/models/v1_subject_access_review_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_subject_access_review_status.py rename to kubernetes/aio/client/models/v1_subject_access_review_status.py index 8454ac68b0..0569f65dcf 100644 --- a/kubernetes_asyncio/client/models/v1_subject_access_review_status.py +++ b/kubernetes/aio/client/models/v1_subject_access_review_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SubjectAccessReviewStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_subject_rules_review_status.py b/kubernetes/aio/client/models/v1_subject_rules_review_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_subject_rules_review_status.py rename to kubernetes/aio/client/models/v1_subject_rules_review_status.py index 450bd44e52..42e60ef448 100644 --- a/kubernetes_asyncio/client/models/v1_subject_rules_review_status.py +++ b/kubernetes/aio/client/models/v1_subject_rules_review_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SubjectRulesReviewStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_success_policy.py b/kubernetes/aio/client/models/v1_success_policy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_success_policy.py rename to kubernetes/aio/client/models/v1_success_policy.py index 1872a7bfed..c6866f77a6 100644 --- a/kubernetes_asyncio/client/models/v1_success_policy.py +++ b/kubernetes/aio/client/models/v1_success_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SuccessPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_success_policy_rule.py b/kubernetes/aio/client/models/v1_success_policy_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_success_policy_rule.py rename to kubernetes/aio/client/models/v1_success_policy_rule.py index b242d71f30..e7da7a5d70 100644 --- a/kubernetes_asyncio/client/models/v1_success_policy_rule.py +++ b/kubernetes/aio/client/models/v1_success_policy_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1SuccessPolicyRule(object): diff --git a/kubernetes_asyncio/client/models/v1_sysctl.py b/kubernetes/aio/client/models/v1_sysctl.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_sysctl.py rename to kubernetes/aio/client/models/v1_sysctl.py index 7477e4ed67..b203e55940 100644 --- a/kubernetes_asyncio/client/models/v1_sysctl.py +++ b/kubernetes/aio/client/models/v1_sysctl.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Sysctl(object): diff --git a/kubernetes_asyncio/client/models/v1_taint.py b/kubernetes/aio/client/models/v1_taint.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_taint.py rename to kubernetes/aio/client/models/v1_taint.py index e37d743e81..b03d17394c 100644 --- a/kubernetes_asyncio/client/models/v1_taint.py +++ b/kubernetes/aio/client/models/v1_taint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Taint(object): diff --git a/kubernetes_asyncio/client/models/v1_tcp_socket_action.py b/kubernetes/aio/client/models/v1_tcp_socket_action.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_tcp_socket_action.py rename to kubernetes/aio/client/models/v1_tcp_socket_action.py index 64f4f5fb46..6d71e3ead5 100644 --- a/kubernetes_asyncio/client/models/v1_tcp_socket_action.py +++ b/kubernetes/aio/client/models/v1_tcp_socket_action.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TCPSocketAction(object): diff --git a/kubernetes_asyncio/client/models/v1_token_request_spec.py b/kubernetes/aio/client/models/v1_token_request_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_token_request_spec.py rename to kubernetes/aio/client/models/v1_token_request_spec.py index f6f3934b17..89a750fd05 100644 --- a/kubernetes_asyncio/client/models/v1_token_request_spec.py +++ b/kubernetes/aio/client/models/v1_token_request_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TokenRequestSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_token_request_status.py b/kubernetes/aio/client/models/v1_token_request_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_token_request_status.py rename to kubernetes/aio/client/models/v1_token_request_status.py index 9eb0935f2b..440efaeac6 100644 --- a/kubernetes_asyncio/client/models/v1_token_request_status.py +++ b/kubernetes/aio/client/models/v1_token_request_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TokenRequestStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_token_review.py b/kubernetes/aio/client/models/v1_token_review.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_token_review.py rename to kubernetes/aio/client/models/v1_token_review.py index e86231502f..e615c9d9ef 100644 --- a/kubernetes_asyncio/client/models/v1_token_review.py +++ b/kubernetes/aio/client/models/v1_token_review.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TokenReview(object): diff --git a/kubernetes_asyncio/client/models/v1_token_review_spec.py b/kubernetes/aio/client/models/v1_token_review_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_token_review_spec.py rename to kubernetes/aio/client/models/v1_token_review_spec.py index 8164ac6f2b..7b0b6e168b 100644 --- a/kubernetes_asyncio/client/models/v1_token_review_spec.py +++ b/kubernetes/aio/client/models/v1_token_review_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TokenReviewSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_token_review_status.py b/kubernetes/aio/client/models/v1_token_review_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_token_review_status.py rename to kubernetes/aio/client/models/v1_token_review_status.py index 6ed975da2d..8e230f5ac0 100644 --- a/kubernetes_asyncio/client/models/v1_token_review_status.py +++ b/kubernetes/aio/client/models/v1_token_review_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TokenReviewStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_toleration.py b/kubernetes/aio/client/models/v1_toleration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_toleration.py rename to kubernetes/aio/client/models/v1_toleration.py index 5b1a0fbeaf..c946776217 100644 --- a/kubernetes_asyncio/client/models/v1_toleration.py +++ b/kubernetes/aio/client/models/v1_toleration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Toleration(object): diff --git a/kubernetes_asyncio/client/models/v1_topology_selector_label_requirement.py b/kubernetes/aio/client/models/v1_topology_selector_label_requirement.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_topology_selector_label_requirement.py rename to kubernetes/aio/client/models/v1_topology_selector_label_requirement.py index e07bc1fee0..56f2a1bfb0 100644 --- a/kubernetes_asyncio/client/models/v1_topology_selector_label_requirement.py +++ b/kubernetes/aio/client/models/v1_topology_selector_label_requirement.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TopologySelectorLabelRequirement(object): diff --git a/kubernetes_asyncio/client/models/v1_topology_selector_term.py b/kubernetes/aio/client/models/v1_topology_selector_term.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_topology_selector_term.py rename to kubernetes/aio/client/models/v1_topology_selector_term.py index 119e00a33d..4918d15ccd 100644 --- a/kubernetes_asyncio/client/models/v1_topology_selector_term.py +++ b/kubernetes/aio/client/models/v1_topology_selector_term.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TopologySelectorTerm(object): diff --git a/kubernetes_asyncio/client/models/v1_topology_spread_constraint.py b/kubernetes/aio/client/models/v1_topology_spread_constraint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_topology_spread_constraint.py rename to kubernetes/aio/client/models/v1_topology_spread_constraint.py index b5de204af9..e18e3be473 100644 --- a/kubernetes_asyncio/client/models/v1_topology_spread_constraint.py +++ b/kubernetes/aio/client/models/v1_topology_spread_constraint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TopologySpreadConstraint(object): diff --git a/kubernetes_asyncio/client/models/v1_type_checking.py b/kubernetes/aio/client/models/v1_type_checking.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_type_checking.py rename to kubernetes/aio/client/models/v1_type_checking.py index db3d6b3bca..72a89e1106 100644 --- a/kubernetes_asyncio/client/models/v1_type_checking.py +++ b/kubernetes/aio/client/models/v1_type_checking.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TypeChecking(object): diff --git a/kubernetes_asyncio/client/models/v1_typed_local_object_reference.py b/kubernetes/aio/client/models/v1_typed_local_object_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_typed_local_object_reference.py rename to kubernetes/aio/client/models/v1_typed_local_object_reference.py index bd042b5b1e..3aa9d30126 100644 --- a/kubernetes_asyncio/client/models/v1_typed_local_object_reference.py +++ b/kubernetes/aio/client/models/v1_typed_local_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TypedLocalObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v1_typed_object_reference.py b/kubernetes/aio/client/models/v1_typed_object_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_typed_object_reference.py rename to kubernetes/aio/client/models/v1_typed_object_reference.py index e386f9f218..8b5c4f8c80 100644 --- a/kubernetes_asyncio/client/models/v1_typed_object_reference.py +++ b/kubernetes/aio/client/models/v1_typed_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1TypedObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v1_uncounted_terminated_pods.py b/kubernetes/aio/client/models/v1_uncounted_terminated_pods.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_uncounted_terminated_pods.py rename to kubernetes/aio/client/models/v1_uncounted_terminated_pods.py index fde773ff28..518def6070 100644 --- a/kubernetes_asyncio/client/models/v1_uncounted_terminated_pods.py +++ b/kubernetes/aio/client/models/v1_uncounted_terminated_pods.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1UncountedTerminatedPods(object): diff --git a/kubernetes_asyncio/client/models/v1_user_info.py b/kubernetes/aio/client/models/v1_user_info.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_user_info.py rename to kubernetes/aio/client/models/v1_user_info.py index f256772aa8..49fe2a3e09 100644 --- a/kubernetes_asyncio/client/models/v1_user_info.py +++ b/kubernetes/aio/client/models/v1_user_info.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1UserInfo(object): diff --git a/kubernetes_asyncio/client/models/v1_user_subject.py b/kubernetes/aio/client/models/v1_user_subject.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_user_subject.py rename to kubernetes/aio/client/models/v1_user_subject.py index fbebf2e142..79ae39c6cd 100644 --- a/kubernetes_asyncio/client/models/v1_user_subject.py +++ b/kubernetes/aio/client/models/v1_user_subject.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1UserSubject(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy.py b/kubernetes/aio/client/models/v1_validating_admission_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_admission_policy.py rename to kubernetes/aio/client/models/v1_validating_admission_policy.py index ad6a74c420..43c02c1d54 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy.py +++ b/kubernetes/aio/client/models/v1_validating_admission_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingAdmissionPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding.py b/kubernetes/aio/client/models/v1_validating_admission_policy_binding.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_admission_policy_binding.py rename to kubernetes/aio/client/models/v1_validating_admission_policy_binding.py index 05012626e2..6f42b71059 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding.py +++ b/kubernetes/aio/client/models/v1_validating_admission_policy_binding.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingAdmissionPolicyBinding(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_list.py b/kubernetes/aio/client/models/v1_validating_admission_policy_binding_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_list.py rename to kubernetes/aio/client/models/v1_validating_admission_policy_binding_list.py index d120589f06..8e8bb7cb77 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_list.py +++ b/kubernetes/aio/client/models/v1_validating_admission_policy_binding_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingAdmissionPolicyBindingList(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_spec.py b/kubernetes/aio/client/models/v1_validating_admission_policy_binding_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_spec.py rename to kubernetes/aio/client/models/v1_validating_admission_policy_binding_spec.py index 991ff548a5..9640139ab3 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_spec.py +++ b/kubernetes/aio/client/models/v1_validating_admission_policy_binding_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingAdmissionPolicyBindingSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_list.py b/kubernetes/aio/client/models/v1_validating_admission_policy_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_admission_policy_list.py rename to kubernetes/aio/client/models/v1_validating_admission_policy_list.py index 1c0c0ab7cf..4204069fc7 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_list.py +++ b/kubernetes/aio/client/models/v1_validating_admission_policy_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingAdmissionPolicyList(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_spec.py b/kubernetes/aio/client/models/v1_validating_admission_policy_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_admission_policy_spec.py rename to kubernetes/aio/client/models/v1_validating_admission_policy_spec.py index 03c081a7f5..5351e216db 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_spec.py +++ b/kubernetes/aio/client/models/v1_validating_admission_policy_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingAdmissionPolicySpec(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_status.py b/kubernetes/aio/client/models/v1_validating_admission_policy_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_validating_admission_policy_status.py rename to kubernetes/aio/client/models/v1_validating_admission_policy_status.py index f96e94fe07..4356d04229 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_status.py +++ b/kubernetes/aio/client/models/v1_validating_admission_policy_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingAdmissionPolicyStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_webhook.py b/kubernetes/aio/client/models/v1_validating_webhook.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_webhook.py rename to kubernetes/aio/client/models/v1_validating_webhook.py index 6701a88c3b..953091cf5b 100644 --- a/kubernetes_asyncio/client/models/v1_validating_webhook.py +++ b/kubernetes/aio/client/models/v1_validating_webhook.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingWebhook(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration.py b/kubernetes/aio/client/models/v1_validating_webhook_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_webhook_configuration.py rename to kubernetes/aio/client/models/v1_validating_webhook_configuration.py index dccb7a3571..17b57b4247 100644 --- a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration.py +++ b/kubernetes/aio/client/models/v1_validating_webhook_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingWebhookConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration_list.py b/kubernetes/aio/client/models/v1_validating_webhook_configuration_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validating_webhook_configuration_list.py rename to kubernetes/aio/client/models/v1_validating_webhook_configuration_list.py index 7d85637dd3..c80653fbf9 100644 --- a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration_list.py +++ b/kubernetes/aio/client/models/v1_validating_webhook_configuration_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidatingWebhookConfigurationList(object): diff --git a/kubernetes_asyncio/client/models/v1_validation.py b/kubernetes/aio/client/models/v1_validation.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validation.py rename to kubernetes/aio/client/models/v1_validation.py index 03cddc4452..6c5e718448 100644 --- a/kubernetes_asyncio/client/models/v1_validation.py +++ b/kubernetes/aio/client/models/v1_validation.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Validation(object): diff --git a/kubernetes_asyncio/client/models/v1_validation_rule.py b/kubernetes/aio/client/models/v1_validation_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_validation_rule.py rename to kubernetes/aio/client/models/v1_validation_rule.py index 539121a6e0..75c4b4cbf7 100644 --- a/kubernetes_asyncio/client/models/v1_validation_rule.py +++ b/kubernetes/aio/client/models/v1_validation_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1ValidationRule(object): diff --git a/kubernetes_asyncio/client/models/v1_variable.py b/kubernetes/aio/client/models/v1_variable.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_variable.py rename to kubernetes/aio/client/models/v1_variable.py index f2e03ae809..1a2b35d41a 100644 --- a/kubernetes_asyncio/client/models/v1_variable.py +++ b/kubernetes/aio/client/models/v1_variable.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Variable(object): diff --git a/kubernetes_asyncio/client/models/v1_volume.py b/kubernetes/aio/client/models/v1_volume.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume.py rename to kubernetes/aio/client/models/v1_volume.py index 301d3e61c2..a19bd8eda4 100644 --- a/kubernetes_asyncio/client/models/v1_volume.py +++ b/kubernetes/aio/client/models/v1_volume.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1Volume(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment.py b/kubernetes/aio/client/models/v1_volume_attachment.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_attachment.py rename to kubernetes/aio/client/models/v1_volume_attachment.py index 749c85531c..e25770d284 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment.py +++ b/kubernetes/aio/client/models/v1_volume_attachment.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeAttachment(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_list.py b/kubernetes/aio/client/models/v1_volume_attachment_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_attachment_list.py rename to kubernetes/aio/client/models/v1_volume_attachment_list.py index 68033905db..d9de4734f3 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_list.py +++ b/kubernetes/aio/client/models/v1_volume_attachment_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeAttachmentList(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_source.py b/kubernetes/aio/client/models/v1_volume_attachment_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_attachment_source.py rename to kubernetes/aio/client/models/v1_volume_attachment_source.py index 05ec23ed97..b2a52d72b9 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_source.py +++ b/kubernetes/aio/client/models/v1_volume_attachment_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeAttachmentSource(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_spec.py b/kubernetes/aio/client/models/v1_volume_attachment_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_attachment_spec.py rename to kubernetes/aio/client/models/v1_volume_attachment_spec.py index 03679bc533..f161cd7ff0 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_spec.py +++ b/kubernetes/aio/client/models/v1_volume_attachment_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeAttachmentSpec(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_status.py b/kubernetes/aio/client/models/v1_volume_attachment_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_attachment_status.py rename to kubernetes/aio/client/models/v1_volume_attachment_status.py index 3659f3996a..3c5b9fcef4 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_status.py +++ b/kubernetes/aio/client/models/v1_volume_attachment_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeAttachmentStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_attributes_class.py b/kubernetes/aio/client/models/v1_volume_attributes_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_attributes_class.py rename to kubernetes/aio/client/models/v1_volume_attributes_class.py index 538fd5fd6d..cc2ee6466b 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attributes_class.py +++ b/kubernetes/aio/client/models/v1_volume_attributes_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeAttributesClass(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_attributes_class_list.py b/kubernetes/aio/client/models/v1_volume_attributes_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_attributes_class_list.py rename to kubernetes/aio/client/models/v1_volume_attributes_class_list.py index f883b40f0a..ac881e6b0c 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attributes_class_list.py +++ b/kubernetes/aio/client/models/v1_volume_attributes_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeAttributesClassList(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_device.py b/kubernetes/aio/client/models/v1_volume_device.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_device.py rename to kubernetes/aio/client/models/v1_volume_device.py index d270761924..36514e7b0d 100644 --- a/kubernetes_asyncio/client/models/v1_volume_device.py +++ b/kubernetes/aio/client/models/v1_volume_device.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeDevice(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_error.py b/kubernetes/aio/client/models/v1_volume_error.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_error.py rename to kubernetes/aio/client/models/v1_volume_error.py index 1cd7406108..a796d48fd6 100644 --- a/kubernetes_asyncio/client/models/v1_volume_error.py +++ b/kubernetes/aio/client/models/v1_volume_error.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeError(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_mount.py b/kubernetes/aio/client/models/v1_volume_mount.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_mount.py rename to kubernetes/aio/client/models/v1_volume_mount.py index fbd6e9426d..f1ab20e4d8 100644 --- a/kubernetes_asyncio/client/models/v1_volume_mount.py +++ b/kubernetes/aio/client/models/v1_volume_mount.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeMount(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_mount_status.py b/kubernetes/aio/client/models/v1_volume_mount_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_mount_status.py rename to kubernetes/aio/client/models/v1_volume_mount_status.py index 1e4c36f86a..feaa7e537b 100644 --- a/kubernetes_asyncio/client/models/v1_volume_mount_status.py +++ b/kubernetes/aio/client/models/v1_volume_mount_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeMountStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_node_affinity.py b/kubernetes/aio/client/models/v1_volume_node_affinity.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_node_affinity.py rename to kubernetes/aio/client/models/v1_volume_node_affinity.py index ec4ca6c3f9..234b09f00f 100644 --- a/kubernetes_asyncio/client/models/v1_volume_node_affinity.py +++ b/kubernetes/aio/client/models/v1_volume_node_affinity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeNodeAffinity(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_node_resources.py b/kubernetes/aio/client/models/v1_volume_node_resources.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_node_resources.py rename to kubernetes/aio/client/models/v1_volume_node_resources.py index ebaeed59d0..f5936e26ce 100644 --- a/kubernetes_asyncio/client/models/v1_volume_node_resources.py +++ b/kubernetes/aio/client/models/v1_volume_node_resources.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeNodeResources(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_projection.py b/kubernetes/aio/client/models/v1_volume_projection.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_volume_projection.py rename to kubernetes/aio/client/models/v1_volume_projection.py index 16a942a77f..20e5d0e85a 100644 --- a/kubernetes_asyncio/client/models/v1_volume_projection.py +++ b/kubernetes/aio/client/models/v1_volume_projection.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeProjection(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_resource_requirements.py b/kubernetes/aio/client/models/v1_volume_resource_requirements.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_resource_requirements.py rename to kubernetes/aio/client/models/v1_volume_resource_requirements.py index 0f7d28aee6..a169575116 100644 --- a/kubernetes_asyncio/client/models/v1_volume_resource_requirements.py +++ b/kubernetes/aio/client/models/v1_volume_resource_requirements.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeResourceRequirements(object): diff --git a/kubernetes_asyncio/client/models/v1_volume_status.py b/kubernetes/aio/client/models/v1_volume_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_volume_status.py rename to kubernetes/aio/client/models/v1_volume_status.py index 4c53caca4e..81a6242e82 100644 --- a/kubernetes_asyncio/client/models/v1_volume_status.py +++ b/kubernetes/aio/client/models/v1_volume_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VolumeStatus(object): diff --git a/kubernetes_asyncio/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/aio/client/models/v1_vsphere_virtual_disk_volume_source.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_vsphere_virtual_disk_volume_source.py rename to kubernetes/aio/client/models/v1_vsphere_virtual_disk_volume_source.py index ce9b682fe1..1297704a01 100644 --- a/kubernetes_asyncio/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/aio/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1VsphereVirtualDiskVolumeSource(object): diff --git a/kubernetes_asyncio/client/models/v1_watch_event.py b/kubernetes/aio/client/models/v1_watch_event.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_watch_event.py rename to kubernetes/aio/client/models/v1_watch_event.py index 49217e86a1..3514ae7a28 100644 --- a/kubernetes_asyncio/client/models/v1_watch_event.py +++ b/kubernetes/aio/client/models/v1_watch_event.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1WatchEvent(object): diff --git a/kubernetes_asyncio/client/models/v1_webhook_conversion.py b/kubernetes/aio/client/models/v1_webhook_conversion.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_webhook_conversion.py rename to kubernetes/aio/client/models/v1_webhook_conversion.py index 04adcef1ea..d6f1662c4b 100644 --- a/kubernetes_asyncio/client/models/v1_webhook_conversion.py +++ b/kubernetes/aio/client/models/v1_webhook_conversion.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1WebhookConversion(object): diff --git a/kubernetes_asyncio/client/models/v1_weighted_pod_affinity_term.py b/kubernetes/aio/client/models/v1_weighted_pod_affinity_term.py similarity index 98% rename from kubernetes_asyncio/client/models/v1_weighted_pod_affinity_term.py rename to kubernetes/aio/client/models/v1_weighted_pod_affinity_term.py index 60ca983775..bf6198267a 100644 --- a/kubernetes_asyncio/client/models/v1_weighted_pod_affinity_term.py +++ b/kubernetes/aio/client/models/v1_weighted_pod_affinity_term.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1WeightedPodAffinityTerm(object): diff --git a/kubernetes_asyncio/client/models/v1_windows_security_context_options.py b/kubernetes/aio/client/models/v1_windows_security_context_options.py similarity index 99% rename from kubernetes_asyncio/client/models/v1_windows_security_context_options.py rename to kubernetes/aio/client/models/v1_windows_security_context_options.py index 268ebcebcf..e11bc0abc6 100644 --- a/kubernetes_asyncio/client/models/v1_windows_security_context_options.py +++ b/kubernetes/aio/client/models/v1_windows_security_context_options.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1WindowsSecurityContextOptions(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_apply_configuration.py b/kubernetes/aio/client/models/v1alpha1_apply_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_apply_configuration.py rename to kubernetes/aio/client/models/v1alpha1_apply_configuration.py index 0f3788739b..c0145e7105 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_apply_configuration.py +++ b/kubernetes/aio/client/models/v1alpha1_apply_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1ApplyConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle.py b/kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle.py rename to kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle.py index 792da76637..3ad5f9a06b 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle.py +++ b/kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1ClusterTrustBundle(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_list.py b/kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_list.py rename to kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle_list.py index 5d3e0c7901..6ed6043644 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_list.py +++ b/kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1ClusterTrustBundleList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_spec.py b/kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_spec.py rename to kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle_spec.py index 21bd6d9ab6..0c2af5ceb8 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_spec.py +++ b/kubernetes/aio/client/models/v1alpha1_cluster_trust_bundle_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1ClusterTrustBundleSpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_json_patch.py b/kubernetes/aio/client/models/v1alpha1_json_patch.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_json_patch.py rename to kubernetes/aio/client/models/v1alpha1_json_patch.py index f5e0fa56ff..98546d5fc2 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_json_patch.py +++ b/kubernetes/aio/client/models/v1alpha1_json_patch.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1JSONPatch(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_match_condition.py b/kubernetes/aio/client/models/v1alpha1_match_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_match_condition.py rename to kubernetes/aio/client/models/v1alpha1_match_condition.py index cb4258fad4..bf1e8ec878 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_match_condition.py +++ b/kubernetes/aio/client/models/v1alpha1_match_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MatchCondition(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_match_resources.py b/kubernetes/aio/client/models/v1alpha1_match_resources.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_match_resources.py rename to kubernetes/aio/client/models/v1alpha1_match_resources.py index dd2a12a9c5..16e0605b2f 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_match_resources.py +++ b/kubernetes/aio/client/models/v1alpha1_match_resources.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MatchResources(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy.py b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy.py rename to kubernetes/aio/client/models/v1alpha1_mutating_admission_policy.py index 95365a3ce4..bde5b7d174 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy.py +++ b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MutatingAdmissionPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding.py b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding.py rename to kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding.py index e8f5ea329f..d182f6735f 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding.py +++ b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MutatingAdmissionPolicyBinding(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_list.py b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_list.py rename to kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding_list.py index 568db29464..80f98bb582 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_list.py +++ b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MutatingAdmissionPolicyBindingList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py rename to kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py index de76025c14..d153bb8a10 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py +++ b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MutatingAdmissionPolicyBindingSpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_list.py b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_list.py rename to kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_list.py index 812c552d97..34946b5494 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_list.py +++ b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MutatingAdmissionPolicyList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_spec.py b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_spec.py rename to kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_spec.py index 9d135ec7bd..6497077e85 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_spec.py +++ b/kubernetes/aio/client/models/v1alpha1_mutating_admission_policy_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1MutatingAdmissionPolicySpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutation.py b/kubernetes/aio/client/models/v1alpha1_mutation.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha1_mutation.py rename to kubernetes/aio/client/models/v1alpha1_mutation.py index 901f527efe..88ab9d73a6 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutation.py +++ b/kubernetes/aio/client/models/v1alpha1_mutation.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1Mutation(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_named_rule_with_operations.py b/kubernetes/aio/client/models/v1alpha1_named_rule_with_operations.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_named_rule_with_operations.py rename to kubernetes/aio/client/models/v1alpha1_named_rule_with_operations.py index 43fe055d8e..29969ea9ba 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_named_rule_with_operations.py +++ b/kubernetes/aio/client/models/v1alpha1_named_rule_with_operations.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1NamedRuleWithOperations(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_param_kind.py b/kubernetes/aio/client/models/v1alpha1_param_kind.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha1_param_kind.py rename to kubernetes/aio/client/models/v1alpha1_param_kind.py index 19d676d8a8..fd9fd64105 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_param_kind.py +++ b/kubernetes/aio/client/models/v1alpha1_param_kind.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1ParamKind(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_param_ref.py b/kubernetes/aio/client/models/v1alpha1_param_ref.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_param_ref.py rename to kubernetes/aio/client/models/v1alpha1_param_ref.py index fc26e1b78c..91e455fcf8 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_param_ref.py +++ b/kubernetes/aio/client/models/v1alpha1_param_ref.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1ParamRef(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_server_storage_version.py b/kubernetes/aio/client/models/v1alpha1_server_storage_version.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_server_storage_version.py rename to kubernetes/aio/client/models/v1alpha1_server_storage_version.py index 7e3a444fe3..75e11a60f4 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_server_storage_version.py +++ b/kubernetes/aio/client/models/v1alpha1_server_storage_version.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1ServerStorageVersion(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version.py b/kubernetes/aio/client/models/v1alpha1_storage_version.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_storage_version.py rename to kubernetes/aio/client/models/v1alpha1_storage_version.py index 66619637f2..64ebff12b4 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version.py +++ b/kubernetes/aio/client/models/v1alpha1_storage_version.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1StorageVersion(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_condition.py b/kubernetes/aio/client/models/v1alpha1_storage_version_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_storage_version_condition.py rename to kubernetes/aio/client/models/v1alpha1_storage_version_condition.py index 85453f2fb8..7edf50957d 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_condition.py +++ b/kubernetes/aio/client/models/v1alpha1_storage_version_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1StorageVersionCondition(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_list.py b/kubernetes/aio/client/models/v1alpha1_storage_version_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_storage_version_list.py rename to kubernetes/aio/client/models/v1alpha1_storage_version_list.py index d9d6408e51..004d7942ac 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_list.py +++ b/kubernetes/aio/client/models/v1alpha1_storage_version_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1StorageVersionList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_status.py b/kubernetes/aio/client/models/v1alpha1_storage_version_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha1_storage_version_status.py rename to kubernetes/aio/client/models/v1alpha1_storage_version_status.py index bfdcecf56a..f22407fd5b 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_status.py +++ b/kubernetes/aio/client/models/v1alpha1_storage_version_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1StorageVersionStatus(object): diff --git a/kubernetes_asyncio/client/models/v1alpha1_variable.py b/kubernetes/aio/client/models/v1alpha1_variable.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha1_variable.py rename to kubernetes/aio/client/models/v1alpha1_variable.py index 3ce93ee698..87f1cb4e6b 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_variable.py +++ b/kubernetes/aio/client/models/v1alpha1_variable.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha1Variable(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_gang_scheduling_policy.py b/kubernetes/aio/client/models/v1alpha2_gang_scheduling_policy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_gang_scheduling_policy.py rename to kubernetes/aio/client/models/v1alpha2_gang_scheduling_policy.py index 79dbe5ea19..ffb7bb49c7 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_gang_scheduling_policy.py +++ b/kubernetes/aio/client/models/v1alpha2_gang_scheduling_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2GangSchedulingPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate.py b/kubernetes/aio/client/models/v1alpha2_lease_candidate.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_lease_candidate.py rename to kubernetes/aio/client/models/v1alpha2_lease_candidate.py index 5c5e1285eb..4ff6c9b008 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate.py +++ b/kubernetes/aio/client/models/v1alpha2_lease_candidate.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2LeaseCandidate(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_list.py b/kubernetes/aio/client/models/v1alpha2_lease_candidate_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_lease_candidate_list.py rename to kubernetes/aio/client/models/v1alpha2_lease_candidate_list.py index 2e1f56b69a..ba2f100111 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_list.py +++ b/kubernetes/aio/client/models/v1alpha2_lease_candidate_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2LeaseCandidateList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_spec.py b/kubernetes/aio/client/models/v1alpha2_lease_candidate_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_lease_candidate_spec.py rename to kubernetes/aio/client/models/v1alpha2_lease_candidate_spec.py index 81d3a7e0a6..d1a22e419f 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_spec.py +++ b/kubernetes/aio/client/models/v1alpha2_lease_candidate_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2LeaseCandidateSpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group.py b/kubernetes/aio/client/models/v1alpha2_pod_group.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group.py rename to kubernetes/aio/client/models/v1alpha2_pod_group.py index 8f253b9491..c8ecc9142c 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroup(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_list.py b/kubernetes/aio/client/models/v1alpha2_pod_group_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_list.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_list.py index 07d780e585..8b06c5415f 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_list.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_resource_claim.py b/kubernetes/aio/client/models/v1alpha2_pod_group_resource_claim.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_resource_claim.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_resource_claim.py index 9a840d1080..956b0901ec 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_resource_claim.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_resource_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupResourceClaim(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_resource_claim_status.py b/kubernetes/aio/client/models/v1alpha2_pod_group_resource_claim_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_resource_claim_status.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_resource_claim_status.py index 4d8c819faa..bec9ef9851 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_resource_claim_status.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_resource_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupResourceClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_scheduling_constraints.py b/kubernetes/aio/client/models/v1alpha2_pod_group_scheduling_constraints.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_scheduling_constraints.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_scheduling_constraints.py index 1de718504c..e963b80bdb 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_scheduling_constraints.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_scheduling_constraints.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupSchedulingConstraints(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_scheduling_policy.py b/kubernetes/aio/client/models/v1alpha2_pod_group_scheduling_policy.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_scheduling_policy.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_scheduling_policy.py index f912844692..24060b1fee 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_scheduling_policy.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_scheduling_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupSchedulingPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_spec.py b/kubernetes/aio/client/models/v1alpha2_pod_group_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_spec.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_spec.py index f5f54036d4..c8ecf97efc 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_spec.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupSpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_status.py b/kubernetes/aio/client/models/v1alpha2_pod_group_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_status.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_status.py index 71c5884894..31075503a6 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_status.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupStatus(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_template.py b/kubernetes/aio/client/models/v1alpha2_pod_group_template.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_template.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_template.py index 10be66f1e4..4cbba7d51b 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_template.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_template.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupTemplate(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_pod_group_template_reference.py b/kubernetes/aio/client/models/v1alpha2_pod_group_template_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_pod_group_template_reference.py rename to kubernetes/aio/client/models/v1alpha2_pod_group_template_reference.py index 8ab76aef2c..b8f570d4ee 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_pod_group_template_reference.py +++ b/kubernetes/aio/client/models/v1alpha2_pod_group_template_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2PodGroupTemplateReference(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_topology_constraint.py b/kubernetes/aio/client/models/v1alpha2_topology_constraint.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_topology_constraint.py rename to kubernetes/aio/client/models/v1alpha2_topology_constraint.py index 2027288e6e..8e1586e023 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_topology_constraint.py +++ b/kubernetes/aio/client/models/v1alpha2_topology_constraint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2TopologyConstraint(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_typed_local_object_reference.py b/kubernetes/aio/client/models/v1alpha2_typed_local_object_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_typed_local_object_reference.py rename to kubernetes/aio/client/models/v1alpha2_typed_local_object_reference.py index acd53a1fec..2855c4097c 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_typed_local_object_reference.py +++ b/kubernetes/aio/client/models/v1alpha2_typed_local_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2TypedLocalObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_workload.py b/kubernetes/aio/client/models/v1alpha2_workload.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_workload.py rename to kubernetes/aio/client/models/v1alpha2_workload.py index d3d5757cb5..81756a67b9 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_workload.py +++ b/kubernetes/aio/client/models/v1alpha2_workload.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2Workload(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_workload_list.py b/kubernetes/aio/client/models/v1alpha2_workload_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha2_workload_list.py rename to kubernetes/aio/client/models/v1alpha2_workload_list.py index 57357aef37..784fd10c5b 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_workload_list.py +++ b/kubernetes/aio/client/models/v1alpha2_workload_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2WorkloadList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_workload_pod_group_template_reference.py b/kubernetes/aio/client/models/v1alpha2_workload_pod_group_template_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_workload_pod_group_template_reference.py rename to kubernetes/aio/client/models/v1alpha2_workload_pod_group_template_reference.py index 4a10733441..260f6b6835 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_workload_pod_group_template_reference.py +++ b/kubernetes/aio/client/models/v1alpha2_workload_pod_group_template_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2WorkloadPodGroupTemplateReference(object): diff --git a/kubernetes_asyncio/client/models/v1alpha2_workload_spec.py b/kubernetes/aio/client/models/v1alpha2_workload_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha2_workload_spec.py rename to kubernetes/aio/client/models/v1alpha2_workload_spec.py index c988181cfc..4229ed9cde 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_workload_spec.py +++ b/kubernetes/aio/client/models/v1alpha2_workload_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha2WorkloadSpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint.py b/kubernetes/aio/client/models/v1alpha3_device_taint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_device_taint.py rename to kubernetes/aio/client/models/v1alpha3_device_taint.py index 5921f5e030..086c2acabd 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_taint.py +++ b/kubernetes/aio/client/models/v1alpha3_device_taint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3DeviceTaint(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule.py b/kubernetes/aio/client/models/v1alpha3_device_taint_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_device_taint_rule.py rename to kubernetes/aio/client/models/v1alpha3_device_taint_rule.py index 2ddb5a0f47..775bfab0dc 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule.py +++ b/kubernetes/aio/client/models/v1alpha3_device_taint_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3DeviceTaintRule(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_list.py b/kubernetes/aio/client/models/v1alpha3_device_taint_rule_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_list.py rename to kubernetes/aio/client/models/v1alpha3_device_taint_rule_list.py index a42c456b8d..4a8caf301c 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_list.py +++ b/kubernetes/aio/client/models/v1alpha3_device_taint_rule_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3DeviceTaintRuleList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_spec.py b/kubernetes/aio/client/models/v1alpha3_device_taint_rule_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_spec.py rename to kubernetes/aio/client/models/v1alpha3_device_taint_rule_spec.py index c67497a598..b47ff18fb9 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_spec.py +++ b/kubernetes/aio/client/models/v1alpha3_device_taint_rule_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3DeviceTaintRuleSpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_status.py b/kubernetes/aio/client/models/v1alpha3_device_taint_rule_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_status.py rename to kubernetes/aio/client/models/v1alpha3_device_taint_rule_status.py index c108d7d96e..c2d0fff76f 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_status.py +++ b/kubernetes/aio/client/models/v1alpha3_device_taint_rule_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3DeviceTaintRuleStatus(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_selector.py b/kubernetes/aio/client/models/v1alpha3_device_taint_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1alpha3_device_taint_selector.py rename to kubernetes/aio/client/models/v1alpha3_device_taint_selector.py index 4daff48ab1..8e7a5f1a91 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_taint_selector.py +++ b/kubernetes/aio/client/models/v1alpha3_device_taint_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3DeviceTaintSelector(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_pool_status.py b/kubernetes/aio/client/models/v1alpha3_pool_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_pool_status.py rename to kubernetes/aio/client/models/v1alpha3_pool_status.py index e5b3b6d5e8..617d37390b 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_pool_status.py +++ b/kubernetes/aio/client/models/v1alpha3_pool_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3PoolStatus(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request.py b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request.py rename to kubernetes/aio/client/models/v1alpha3_resource_pool_status_request.py index 7deba7ca90..3971475a7a 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request.py +++ b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3ResourcePoolStatusRequest(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_list.py b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_list.py rename to kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_list.py index d1cfd691cb..e37a2b9baa 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_list.py +++ b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3ResourcePoolStatusRequestList(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_spec.py b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_spec.py rename to kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_spec.py index b436a407dd..6dff2d729c 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_spec.py +++ b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3ResourcePoolStatusRequestSpec(object): diff --git a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_status.py b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_status.py rename to kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_status.py index cff858cbdd..7c1570cc21 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_resource_pool_status_request_status.py +++ b/kubernetes/aio/client/models/v1alpha3_resource_pool_status_request_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1alpha3ResourcePoolStatusRequestStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_allocated_device_status.py b/kubernetes/aio/client/models/v1beta1_allocated_device_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_allocated_device_status.py rename to kubernetes/aio/client/models/v1beta1_allocated_device_status.py index 0e4c56cb35..15d5876da3 100644 --- a/kubernetes_asyncio/client/models/v1beta1_allocated_device_status.py +++ b/kubernetes/aio/client/models/v1beta1_allocated_device_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1AllocatedDeviceStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_allocation_result.py b/kubernetes/aio/client/models/v1beta1_allocation_result.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_allocation_result.py rename to kubernetes/aio/client/models/v1beta1_allocation_result.py index 4a8c486e7c..933eaeda3f 100644 --- a/kubernetes_asyncio/client/models/v1beta1_allocation_result.py +++ b/kubernetes/aio/client/models/v1beta1_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1AllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_apply_configuration.py b/kubernetes/aio/client/models/v1beta1_apply_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_apply_configuration.py rename to kubernetes/aio/client/models/v1beta1_apply_configuration.py index 5cb01d0124..a213d5a582 100644 --- a/kubernetes_asyncio/client/models/v1beta1_apply_configuration.py +++ b/kubernetes/aio/client/models/v1beta1_apply_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ApplyConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_basic_device.py b/kubernetes/aio/client/models/v1beta1_basic_device.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_basic_device.py rename to kubernetes/aio/client/models/v1beta1_basic_device.py index 083e58c98e..12b89bc27b 100644 --- a/kubernetes_asyncio/client/models/v1beta1_basic_device.py +++ b/kubernetes/aio/client/models/v1beta1_basic_device.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1BasicDevice(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_capacity_request_policy.py b/kubernetes/aio/client/models/v1beta1_capacity_request_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_capacity_request_policy.py rename to kubernetes/aio/client/models/v1beta1_capacity_request_policy.py index c4364f64b8..7fc59a2c40 100644 --- a/kubernetes_asyncio/client/models/v1beta1_capacity_request_policy.py +++ b/kubernetes/aio/client/models/v1beta1_capacity_request_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1CapacityRequestPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_capacity_request_policy_range.py b/kubernetes/aio/client/models/v1beta1_capacity_request_policy_range.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_capacity_request_policy_range.py rename to kubernetes/aio/client/models/v1beta1_capacity_request_policy_range.py index a40e317ec7..2d2f343db2 100644 --- a/kubernetes_asyncio/client/models/v1beta1_capacity_request_policy_range.py +++ b/kubernetes/aio/client/models/v1beta1_capacity_request_policy_range.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1CapacityRequestPolicyRange(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_capacity_requirements.py b/kubernetes/aio/client/models/v1beta1_capacity_requirements.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_capacity_requirements.py rename to kubernetes/aio/client/models/v1beta1_capacity_requirements.py index 056d1055ce..b1473f0eff 100644 --- a/kubernetes_asyncio/client/models/v1beta1_capacity_requirements.py +++ b/kubernetes/aio/client/models/v1beta1_capacity_requirements.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1CapacityRequirements(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_cel_device_selector.py b/kubernetes/aio/client/models/v1beta1_cel_device_selector.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_cel_device_selector.py rename to kubernetes/aio/client/models/v1beta1_cel_device_selector.py index 5d766b8fef..350d5aa3af 100644 --- a/kubernetes_asyncio/client/models/v1beta1_cel_device_selector.py +++ b/kubernetes/aio/client/models/v1beta1_cel_device_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1CELDeviceSelector(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle.py b/kubernetes/aio/client/models/v1beta1_cluster_trust_bundle.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle.py rename to kubernetes/aio/client/models/v1beta1_cluster_trust_bundle.py index 79321e27a3..7b02b2f23a 100644 --- a/kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle.py +++ b/kubernetes/aio/client/models/v1beta1_cluster_trust_bundle.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ClusterTrustBundle(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle_list.py b/kubernetes/aio/client/models/v1beta1_cluster_trust_bundle_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle_list.py rename to kubernetes/aio/client/models/v1beta1_cluster_trust_bundle_list.py index 01a129b4af..93599cbbf9 100644 --- a/kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle_list.py +++ b/kubernetes/aio/client/models/v1beta1_cluster_trust_bundle_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ClusterTrustBundleList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle_spec.py b/kubernetes/aio/client/models/v1beta1_cluster_trust_bundle_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle_spec.py rename to kubernetes/aio/client/models/v1beta1_cluster_trust_bundle_spec.py index a637fbd9e6..849b40ef02 100644 --- a/kubernetes_asyncio/client/models/v1beta1_cluster_trust_bundle_spec.py +++ b/kubernetes/aio/client/models/v1beta1_cluster_trust_bundle_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ClusterTrustBundleSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_counter.py b/kubernetes/aio/client/models/v1beta1_counter.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_counter.py rename to kubernetes/aio/client/models/v1beta1_counter.py index 38e6834f4f..c849d4a547 100644 --- a/kubernetes_asyncio/client/models/v1beta1_counter.py +++ b/kubernetes/aio/client/models/v1beta1_counter.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1Counter(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_counter_set.py b/kubernetes/aio/client/models/v1beta1_counter_set.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_counter_set.py rename to kubernetes/aio/client/models/v1beta1_counter_set.py index d53658c528..68f09a1ae5 100644 --- a/kubernetes_asyncio/client/models/v1beta1_counter_set.py +++ b/kubernetes/aio/client/models/v1beta1_counter_set.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1CounterSet(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device.py b/kubernetes/aio/client/models/v1beta1_device.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device.py rename to kubernetes/aio/client/models/v1beta1_device.py index 4d11bb532a..facf6acae0 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device.py +++ b/kubernetes/aio/client/models/v1beta1_device.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1Device(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_allocation_configuration.py b/kubernetes/aio/client/models/v1beta1_device_allocation_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_allocation_configuration.py rename to kubernetes/aio/client/models/v1beta1_device_allocation_configuration.py index 1fcac27966..99bc775b63 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_allocation_configuration.py +++ b/kubernetes/aio/client/models/v1beta1_device_allocation_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceAllocationConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_allocation_result.py b/kubernetes/aio/client/models/v1beta1_device_allocation_result.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device_allocation_result.py rename to kubernetes/aio/client/models/v1beta1_device_allocation_result.py index affac68c10..e749bef58b 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_allocation_result.py +++ b/kubernetes/aio/client/models/v1beta1_device_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceAllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_attribute.py b/kubernetes/aio/client/models/v1beta1_device_attribute.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_attribute.py rename to kubernetes/aio/client/models/v1beta1_device_attribute.py index c4b523ee20..fce6524822 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_attribute.py +++ b/kubernetes/aio/client/models/v1beta1_device_attribute.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceAttribute(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_capacity.py b/kubernetes/aio/client/models/v1beta1_device_capacity.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device_capacity.py rename to kubernetes/aio/client/models/v1beta1_device_capacity.py index 94c590234b..3c999500e6 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_capacity.py +++ b/kubernetes/aio/client/models/v1beta1_device_capacity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceCapacity(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_claim.py b/kubernetes/aio/client/models/v1beta1_device_claim.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device_claim.py rename to kubernetes/aio/client/models/v1beta1_device_claim.py index c6322f2417..cdd72762c6 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_claim.py +++ b/kubernetes/aio/client/models/v1beta1_device_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceClaim(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_claim_configuration.py b/kubernetes/aio/client/models/v1beta1_device_claim_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device_claim_configuration.py rename to kubernetes/aio/client/models/v1beta1_device_claim_configuration.py index 8c8ec7f217..7e64d59cf4 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_claim_configuration.py +++ b/kubernetes/aio/client/models/v1beta1_device_claim_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceClaimConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_class.py b/kubernetes/aio/client/models/v1beta1_device_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_class.py rename to kubernetes/aio/client/models/v1beta1_device_class.py index 5823d606b3..2dbc9054f5 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_class.py +++ b/kubernetes/aio/client/models/v1beta1_device_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceClass(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_class_configuration.py b/kubernetes/aio/client/models/v1beta1_device_class_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device_class_configuration.py rename to kubernetes/aio/client/models/v1beta1_device_class_configuration.py index 396b09e21c..250f1ed5ab 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_class_configuration.py +++ b/kubernetes/aio/client/models/v1beta1_device_class_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceClassConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_class_list.py b/kubernetes/aio/client/models/v1beta1_device_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_class_list.py rename to kubernetes/aio/client/models/v1beta1_device_class_list.py index c1bb8a2819..794f046f1b 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_class_list.py +++ b/kubernetes/aio/client/models/v1beta1_device_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceClassList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_class_spec.py b/kubernetes/aio/client/models/v1beta1_device_class_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_class_spec.py rename to kubernetes/aio/client/models/v1beta1_device_class_spec.py index e577e9cd6d..e3ce7dba8b 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_class_spec.py +++ b/kubernetes/aio/client/models/v1beta1_device_class_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceClassSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_constraint.py b/kubernetes/aio/client/models/v1beta1_device_constraint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_constraint.py rename to kubernetes/aio/client/models/v1beta1_device_constraint.py index a4e1cbedbb..72a0d99a87 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_constraint.py +++ b/kubernetes/aio/client/models/v1beta1_device_constraint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceConstraint(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_counter_consumption.py b/kubernetes/aio/client/models/v1beta1_device_counter_consumption.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device_counter_consumption.py rename to kubernetes/aio/client/models/v1beta1_device_counter_consumption.py index 90cdd2353c..cf66566104 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_counter_consumption.py +++ b/kubernetes/aio/client/models/v1beta1_device_counter_consumption.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceCounterConsumption(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_request.py b/kubernetes/aio/client/models/v1beta1_device_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_request.py rename to kubernetes/aio/client/models/v1beta1_device_request.py index 4c18f22c6e..67d7737b75 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_request.py +++ b/kubernetes/aio/client/models/v1beta1_device_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceRequest(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_request_allocation_result.py b/kubernetes/aio/client/models/v1beta1_device_request_allocation_result.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_request_allocation_result.py rename to kubernetes/aio/client/models/v1beta1_device_request_allocation_result.py index 232a3fc228..29865ebb1d 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_request_allocation_result.py +++ b/kubernetes/aio/client/models/v1beta1_device_request_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceRequestAllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_selector.py b/kubernetes/aio/client/models/v1beta1_device_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_device_selector.py rename to kubernetes/aio/client/models/v1beta1_device_selector.py index 7ec7fcff7d..adec6e1300 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_selector.py +++ b/kubernetes/aio/client/models/v1beta1_device_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceSelector(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_sub_request.py b/kubernetes/aio/client/models/v1beta1_device_sub_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_sub_request.py rename to kubernetes/aio/client/models/v1beta1_device_sub_request.py index bc6ce619f0..1441f22bd0 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_sub_request.py +++ b/kubernetes/aio/client/models/v1beta1_device_sub_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceSubRequest(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_taint.py b/kubernetes/aio/client/models/v1beta1_device_taint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_taint.py rename to kubernetes/aio/client/models/v1beta1_device_taint.py index 16e39cb9a9..7f8920fd84 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_taint.py +++ b/kubernetes/aio/client/models/v1beta1_device_taint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceTaint(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_device_toleration.py b/kubernetes/aio/client/models/v1beta1_device_toleration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_device_toleration.py rename to kubernetes/aio/client/models/v1beta1_device_toleration.py index 1bb4670dbb..1643a9c1d9 100644 --- a/kubernetes_asyncio/client/models/v1beta1_device_toleration.py +++ b/kubernetes/aio/client/models/v1beta1_device_toleration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1DeviceToleration(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_ip_address.py b/kubernetes/aio/client/models/v1beta1_ip_address.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_ip_address.py rename to kubernetes/aio/client/models/v1beta1_ip_address.py index d6e1633d10..e3aa4d9bbe 100644 --- a/kubernetes_asyncio/client/models/v1beta1_ip_address.py +++ b/kubernetes/aio/client/models/v1beta1_ip_address.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1IPAddress(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_ip_address_list.py b/kubernetes/aio/client/models/v1beta1_ip_address_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_ip_address_list.py rename to kubernetes/aio/client/models/v1beta1_ip_address_list.py index 010790f3cb..76f4560088 100644 --- a/kubernetes_asyncio/client/models/v1beta1_ip_address_list.py +++ b/kubernetes/aio/client/models/v1beta1_ip_address_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1IPAddressList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_ip_address_spec.py b/kubernetes/aio/client/models/v1beta1_ip_address_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_ip_address_spec.py rename to kubernetes/aio/client/models/v1beta1_ip_address_spec.py index a701bafbe0..11364e2ca9 100644 --- a/kubernetes_asyncio/client/models/v1beta1_ip_address_spec.py +++ b/kubernetes/aio/client/models/v1beta1_ip_address_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1IPAddressSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_json_patch.py b/kubernetes/aio/client/models/v1beta1_json_patch.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_json_patch.py rename to kubernetes/aio/client/models/v1beta1_json_patch.py index cb5185a0dc..b75c27638d 100644 --- a/kubernetes_asyncio/client/models/v1beta1_json_patch.py +++ b/kubernetes/aio/client/models/v1beta1_json_patch.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1JSONPatch(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_lease_candidate.py b/kubernetes/aio/client/models/v1beta1_lease_candidate.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_lease_candidate.py rename to kubernetes/aio/client/models/v1beta1_lease_candidate.py index 57e7d335ef..d69cc94686 100644 --- a/kubernetes_asyncio/client/models/v1beta1_lease_candidate.py +++ b/kubernetes/aio/client/models/v1beta1_lease_candidate.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1LeaseCandidate(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_lease_candidate_list.py b/kubernetes/aio/client/models/v1beta1_lease_candidate_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_lease_candidate_list.py rename to kubernetes/aio/client/models/v1beta1_lease_candidate_list.py index d4c02b27be..8048405553 100644 --- a/kubernetes_asyncio/client/models/v1beta1_lease_candidate_list.py +++ b/kubernetes/aio/client/models/v1beta1_lease_candidate_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1LeaseCandidateList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_lease_candidate_spec.py b/kubernetes/aio/client/models/v1beta1_lease_candidate_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_lease_candidate_spec.py rename to kubernetes/aio/client/models/v1beta1_lease_candidate_spec.py index c33bb78bd7..c433c26ae1 100644 --- a/kubernetes_asyncio/client/models/v1beta1_lease_candidate_spec.py +++ b/kubernetes/aio/client/models/v1beta1_lease_candidate_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1LeaseCandidateSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_match_condition.py b/kubernetes/aio/client/models/v1beta1_match_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_match_condition.py rename to kubernetes/aio/client/models/v1beta1_match_condition.py index 06d389120b..a9fc8de4b7 100644 --- a/kubernetes_asyncio/client/models/v1beta1_match_condition.py +++ b/kubernetes/aio/client/models/v1beta1_match_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MatchCondition(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_match_resources.py b/kubernetes/aio/client/models/v1beta1_match_resources.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_match_resources.py rename to kubernetes/aio/client/models/v1beta1_match_resources.py index 466149f91d..074282eac4 100644 --- a/kubernetes_asyncio/client/models/v1beta1_match_resources.py +++ b/kubernetes/aio/client/models/v1beta1_match_resources.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MatchResources(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy.py b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy.py rename to kubernetes/aio/client/models/v1beta1_mutating_admission_policy.py index 661ee3b4b0..8d7b2eaff5 100644 --- a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy.py +++ b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MutatingAdmissionPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding.py b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding.py rename to kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding.py index 83f9e89a26..049b10bd54 100644 --- a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding.py +++ b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MutatingAdmissionPolicyBinding(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding_list.py b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding_list.py rename to kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding_list.py index f8def840a0..11f21854b8 100644 --- a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding_list.py +++ b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MutatingAdmissionPolicyBindingList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding_spec.py b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding_spec.py rename to kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding_spec.py index b7001ba1a6..d920ee7bc4 100644 --- a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_binding_spec.py +++ b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_binding_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MutatingAdmissionPolicyBindingSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_list.py b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_list.py rename to kubernetes/aio/client/models/v1beta1_mutating_admission_policy_list.py index 34d059e0bf..f5ba281519 100644 --- a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_list.py +++ b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MutatingAdmissionPolicyList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_spec.py b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_spec.py rename to kubernetes/aio/client/models/v1beta1_mutating_admission_policy_spec.py index 615a38bcac..0b616e6907 100644 --- a/kubernetes_asyncio/client/models/v1beta1_mutating_admission_policy_spec.py +++ b/kubernetes/aio/client/models/v1beta1_mutating_admission_policy_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1MutatingAdmissionPolicySpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_mutation.py b/kubernetes/aio/client/models/v1beta1_mutation.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_mutation.py rename to kubernetes/aio/client/models/v1beta1_mutation.py index 0160ad12d5..e06a051bf0 100644 --- a/kubernetes_asyncio/client/models/v1beta1_mutation.py +++ b/kubernetes/aio/client/models/v1beta1_mutation.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1Mutation(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_named_rule_with_operations.py b/kubernetes/aio/client/models/v1beta1_named_rule_with_operations.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_named_rule_with_operations.py rename to kubernetes/aio/client/models/v1beta1_named_rule_with_operations.py index 69129f78cf..ee94efbb73 100644 --- a/kubernetes_asyncio/client/models/v1beta1_named_rule_with_operations.py +++ b/kubernetes/aio/client/models/v1beta1_named_rule_with_operations.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1NamedRuleWithOperations(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_network_device_data.py b/kubernetes/aio/client/models/v1beta1_network_device_data.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_network_device_data.py rename to kubernetes/aio/client/models/v1beta1_network_device_data.py index a26f3565bd..9b7f8f8a1e 100644 --- a/kubernetes_asyncio/client/models/v1beta1_network_device_data.py +++ b/kubernetes/aio/client/models/v1beta1_network_device_data.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1NetworkDeviceData(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_node_allocatable_resource_mapping.py b/kubernetes/aio/client/models/v1beta1_node_allocatable_resource_mapping.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_node_allocatable_resource_mapping.py rename to kubernetes/aio/client/models/v1beta1_node_allocatable_resource_mapping.py index 79c1bafecf..61024c8564 100644 --- a/kubernetes_asyncio/client/models/v1beta1_node_allocatable_resource_mapping.py +++ b/kubernetes/aio/client/models/v1beta1_node_allocatable_resource_mapping.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1NodeAllocatableResourceMapping(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_opaque_device_configuration.py b/kubernetes/aio/client/models/v1beta1_opaque_device_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_opaque_device_configuration.py rename to kubernetes/aio/client/models/v1beta1_opaque_device_configuration.py index 32099584d2..0f4ef0b5f5 100644 --- a/kubernetes_asyncio/client/models/v1beta1_opaque_device_configuration.py +++ b/kubernetes/aio/client/models/v1beta1_opaque_device_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1OpaqueDeviceConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_param_kind.py b/kubernetes/aio/client/models/v1beta1_param_kind.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_param_kind.py rename to kubernetes/aio/client/models/v1beta1_param_kind.py index f377f26664..632c717095 100644 --- a/kubernetes_asyncio/client/models/v1beta1_param_kind.py +++ b/kubernetes/aio/client/models/v1beta1_param_kind.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ParamKind(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_param_ref.py b/kubernetes/aio/client/models/v1beta1_param_ref.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_param_ref.py rename to kubernetes/aio/client/models/v1beta1_param_ref.py index 7ced24cff0..0913f17b8b 100644 --- a/kubernetes_asyncio/client/models/v1beta1_param_ref.py +++ b/kubernetes/aio/client/models/v1beta1_param_ref.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ParamRef(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_parent_reference.py b/kubernetes/aio/client/models/v1beta1_parent_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_parent_reference.py rename to kubernetes/aio/client/models/v1beta1_parent_reference.py index 1891840e89..3579f74484 100644 --- a/kubernetes_asyncio/client/models/v1beta1_parent_reference.py +++ b/kubernetes/aio/client/models/v1beta1_parent_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ParentReference(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request.py b/kubernetes/aio/client/models/v1beta1_pod_certificate_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_pod_certificate_request.py rename to kubernetes/aio/client/models/v1beta1_pod_certificate_request.py index d63c7708cd..a619cd5ef6 100644 --- a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request.py +++ b/kubernetes/aio/client/models/v1beta1_pod_certificate_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1PodCertificateRequest(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_list.py b/kubernetes/aio/client/models/v1beta1_pod_certificate_request_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_list.py rename to kubernetes/aio/client/models/v1beta1_pod_certificate_request_list.py index 4d23a6c832..2e26ff5009 100644 --- a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_list.py +++ b/kubernetes/aio/client/models/v1beta1_pod_certificate_request_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1PodCertificateRequestList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_spec.py b/kubernetes/aio/client/models/v1beta1_pod_certificate_request_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_spec.py rename to kubernetes/aio/client/models/v1beta1_pod_certificate_request_spec.py index dbdff5db79..910dc8d800 100644 --- a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_spec.py +++ b/kubernetes/aio/client/models/v1beta1_pod_certificate_request_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1PodCertificateRequestSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_status.py b/kubernetes/aio/client/models/v1beta1_pod_certificate_request_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_status.py rename to kubernetes/aio/client/models/v1beta1_pod_certificate_request_status.py index e0899ff713..3d495a2bc8 100644 --- a/kubernetes_asyncio/client/models/v1beta1_pod_certificate_request_status.py +++ b/kubernetes/aio/client/models/v1beta1_pod_certificate_request_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1PodCertificateRequestStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim.py b/kubernetes/aio/client/models/v1beta1_resource_claim.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim.py rename to kubernetes/aio/client/models/v1beta1_resource_claim.py index 8203632dea..807f42b2fb 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaim(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim_consumer_reference.py b/kubernetes/aio/client/models/v1beta1_resource_claim_consumer_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim_consumer_reference.py rename to kubernetes/aio/client/models/v1beta1_resource_claim_consumer_reference.py index 23e7045e20..63356bab84 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim_consumer_reference.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim_consumer_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaimConsumerReference(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim_list.py b/kubernetes/aio/client/models/v1beta1_resource_claim_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim_list.py rename to kubernetes/aio/client/models/v1beta1_resource_claim_list.py index e663b98164..2647a65491 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim_list.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaimList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim_spec.py b/kubernetes/aio/client/models/v1beta1_resource_claim_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim_spec.py rename to kubernetes/aio/client/models/v1beta1_resource_claim_spec.py index 9a766b77b8..8ba3ad23dc 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim_spec.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaimSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim_status.py b/kubernetes/aio/client/models/v1beta1_resource_claim_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim_status.py rename to kubernetes/aio/client/models/v1beta1_resource_claim_status.py index d2b87266e5..c71e3e2a35 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim_status.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim_template.py b/kubernetes/aio/client/models/v1beta1_resource_claim_template.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim_template.py rename to kubernetes/aio/client/models/v1beta1_resource_claim_template.py index 2891b0d486..f922a9c61b 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim_template.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim_template.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaimTemplate(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim_template_list.py b/kubernetes/aio/client/models/v1beta1_resource_claim_template_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim_template_list.py rename to kubernetes/aio/client/models/v1beta1_resource_claim_template_list.py index 0bfe4f7948..5942464062 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim_template_list.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim_template_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaimTemplateList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_claim_template_spec.py b/kubernetes/aio/client/models/v1beta1_resource_claim_template_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_resource_claim_template_spec.py rename to kubernetes/aio/client/models/v1beta1_resource_claim_template_spec.py index 28e57303b7..3f63f7d461 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_claim_template_spec.py +++ b/kubernetes/aio/client/models/v1beta1_resource_claim_template_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceClaimTemplateSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_pool.py b/kubernetes/aio/client/models/v1beta1_resource_pool.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_pool.py rename to kubernetes/aio/client/models/v1beta1_resource_pool.py index 5807cd8191..b2c10c2b06 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_pool.py +++ b/kubernetes/aio/client/models/v1beta1_resource_pool.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourcePool(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_slice.py b/kubernetes/aio/client/models/v1beta1_resource_slice.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_slice.py rename to kubernetes/aio/client/models/v1beta1_resource_slice.py index bfdfee2e3e..717e1a7e1b 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_slice.py +++ b/kubernetes/aio/client/models/v1beta1_resource_slice.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceSlice(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_slice_list.py b/kubernetes/aio/client/models/v1beta1_resource_slice_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_slice_list.py rename to kubernetes/aio/client/models/v1beta1_resource_slice_list.py index 5c8ab88704..4280960e7c 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_slice_list.py +++ b/kubernetes/aio/client/models/v1beta1_resource_slice_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceSliceList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_resource_slice_spec.py b/kubernetes/aio/client/models/v1beta1_resource_slice_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_resource_slice_spec.py rename to kubernetes/aio/client/models/v1beta1_resource_slice_spec.py index 535661097a..a21d115d71 100644 --- a/kubernetes_asyncio/client/models/v1beta1_resource_slice_spec.py +++ b/kubernetes/aio/client/models/v1beta1_resource_slice_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ResourceSliceSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_service_cidr.py b/kubernetes/aio/client/models/v1beta1_service_cidr.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_service_cidr.py rename to kubernetes/aio/client/models/v1beta1_service_cidr.py index e231ee04c5..f20772b154 100644 --- a/kubernetes_asyncio/client/models/v1beta1_service_cidr.py +++ b/kubernetes/aio/client/models/v1beta1_service_cidr.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ServiceCIDR(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_service_cidr_list.py b/kubernetes/aio/client/models/v1beta1_service_cidr_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_service_cidr_list.py rename to kubernetes/aio/client/models/v1beta1_service_cidr_list.py index 90c3a3b44b..edc3907080 100644 --- a/kubernetes_asyncio/client/models/v1beta1_service_cidr_list.py +++ b/kubernetes/aio/client/models/v1beta1_service_cidr_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ServiceCIDRList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_service_cidr_spec.py b/kubernetes/aio/client/models/v1beta1_service_cidr_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_service_cidr_spec.py rename to kubernetes/aio/client/models/v1beta1_service_cidr_spec.py index 3891c5420f..61a5459062 100644 --- a/kubernetes_asyncio/client/models/v1beta1_service_cidr_spec.py +++ b/kubernetes/aio/client/models/v1beta1_service_cidr_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ServiceCIDRSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_service_cidr_status.py b/kubernetes/aio/client/models/v1beta1_service_cidr_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_service_cidr_status.py rename to kubernetes/aio/client/models/v1beta1_service_cidr_status.py index 03b203b9a5..110b4fccad 100644 --- a/kubernetes_asyncio/client/models/v1beta1_service_cidr_status.py +++ b/kubernetes/aio/client/models/v1beta1_service_cidr_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1ServiceCIDRStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration.py b/kubernetes/aio/client/models/v1beta1_storage_version_migration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_storage_version_migration.py rename to kubernetes/aio/client/models/v1beta1_storage_version_migration.py index 1f3ae0dc70..900e6b0d03 100644 --- a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration.py +++ b/kubernetes/aio/client/models/v1beta1_storage_version_migration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1StorageVersionMigration(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration_list.py b/kubernetes/aio/client/models/v1beta1_storage_version_migration_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_storage_version_migration_list.py rename to kubernetes/aio/client/models/v1beta1_storage_version_migration_list.py index e87d796ebc..4543535891 100644 --- a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration_list.py +++ b/kubernetes/aio/client/models/v1beta1_storage_version_migration_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1StorageVersionMigrationList(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration_spec.py b/kubernetes/aio/client/models/v1beta1_storage_version_migration_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_storage_version_migration_spec.py rename to kubernetes/aio/client/models/v1beta1_storage_version_migration_spec.py index cc945a2142..f21bfbdaf0 100644 --- a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration_spec.py +++ b/kubernetes/aio/client/models/v1beta1_storage_version_migration_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1StorageVersionMigrationSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration_status.py b/kubernetes/aio/client/models/v1beta1_storage_version_migration_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_storage_version_migration_status.py rename to kubernetes/aio/client/models/v1beta1_storage_version_migration_status.py index 8635af1dc2..03973ecf8a 100644 --- a/kubernetes_asyncio/client/models/v1beta1_storage_version_migration_status.py +++ b/kubernetes/aio/client/models/v1beta1_storage_version_migration_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1StorageVersionMigrationStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_variable.py b/kubernetes/aio/client/models/v1beta1_variable.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta1_variable.py rename to kubernetes/aio/client/models/v1beta1_variable.py index e74141c90c..784bbaadae 100644 --- a/kubernetes_asyncio/client/models/v1beta1_variable.py +++ b/kubernetes/aio/client/models/v1beta1_variable.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1Variable(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_volume_attributes_class.py b/kubernetes/aio/client/models/v1beta1_volume_attributes_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_volume_attributes_class.py rename to kubernetes/aio/client/models/v1beta1_volume_attributes_class.py index 200c3c4c5d..927d83fcf5 100644 --- a/kubernetes_asyncio/client/models/v1beta1_volume_attributes_class.py +++ b/kubernetes/aio/client/models/v1beta1_volume_attributes_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1VolumeAttributesClass(object): diff --git a/kubernetes_asyncio/client/models/v1beta1_volume_attributes_class_list.py b/kubernetes/aio/client/models/v1beta1_volume_attributes_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta1_volume_attributes_class_list.py rename to kubernetes/aio/client/models/v1beta1_volume_attributes_class_list.py index 9b4699ced8..4222d2e9b6 100644 --- a/kubernetes_asyncio/client/models/v1beta1_volume_attributes_class_list.py +++ b/kubernetes/aio/client/models/v1beta1_volume_attributes_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta1VolumeAttributesClassList(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_allocated_device_status.py b/kubernetes/aio/client/models/v1beta2_allocated_device_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_allocated_device_status.py rename to kubernetes/aio/client/models/v1beta2_allocated_device_status.py index 5b29df4d76..ecab8728dd 100644 --- a/kubernetes_asyncio/client/models/v1beta2_allocated_device_status.py +++ b/kubernetes/aio/client/models/v1beta2_allocated_device_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2AllocatedDeviceStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_allocation_result.py b/kubernetes/aio/client/models/v1beta2_allocation_result.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_allocation_result.py rename to kubernetes/aio/client/models/v1beta2_allocation_result.py index 56e13ef5d8..ff06ea313d 100644 --- a/kubernetes_asyncio/client/models/v1beta2_allocation_result.py +++ b/kubernetes/aio/client/models/v1beta2_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2AllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_capacity_request_policy.py b/kubernetes/aio/client/models/v1beta2_capacity_request_policy.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_capacity_request_policy.py rename to kubernetes/aio/client/models/v1beta2_capacity_request_policy.py index a7707c8b81..873fc73a15 100644 --- a/kubernetes_asyncio/client/models/v1beta2_capacity_request_policy.py +++ b/kubernetes/aio/client/models/v1beta2_capacity_request_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2CapacityRequestPolicy(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_capacity_request_policy_range.py b/kubernetes/aio/client/models/v1beta2_capacity_request_policy_range.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_capacity_request_policy_range.py rename to kubernetes/aio/client/models/v1beta2_capacity_request_policy_range.py index afd92b144f..2765097eed 100644 --- a/kubernetes_asyncio/client/models/v1beta2_capacity_request_policy_range.py +++ b/kubernetes/aio/client/models/v1beta2_capacity_request_policy_range.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2CapacityRequestPolicyRange(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_capacity_requirements.py b/kubernetes/aio/client/models/v1beta2_capacity_requirements.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_capacity_requirements.py rename to kubernetes/aio/client/models/v1beta2_capacity_requirements.py index 8da1243ea5..8cc12e3cbe 100644 --- a/kubernetes_asyncio/client/models/v1beta2_capacity_requirements.py +++ b/kubernetes/aio/client/models/v1beta2_capacity_requirements.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2CapacityRequirements(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_cel_device_selector.py b/kubernetes/aio/client/models/v1beta2_cel_device_selector.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_cel_device_selector.py rename to kubernetes/aio/client/models/v1beta2_cel_device_selector.py index 0c1105ed84..072b8c6f04 100644 --- a/kubernetes_asyncio/client/models/v1beta2_cel_device_selector.py +++ b/kubernetes/aio/client/models/v1beta2_cel_device_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2CELDeviceSelector(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_counter.py b/kubernetes/aio/client/models/v1beta2_counter.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_counter.py rename to kubernetes/aio/client/models/v1beta2_counter.py index 3a91b726b3..a29a7a0b33 100644 --- a/kubernetes_asyncio/client/models/v1beta2_counter.py +++ b/kubernetes/aio/client/models/v1beta2_counter.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2Counter(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_counter_set.py b/kubernetes/aio/client/models/v1beta2_counter_set.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_counter_set.py rename to kubernetes/aio/client/models/v1beta2_counter_set.py index 41c748e659..47719e5488 100644 --- a/kubernetes_asyncio/client/models/v1beta2_counter_set.py +++ b/kubernetes/aio/client/models/v1beta2_counter_set.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2CounterSet(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device.py b/kubernetes/aio/client/models/v1beta2_device.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device.py rename to kubernetes/aio/client/models/v1beta2_device.py index c88a51c87f..375d2b6742 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device.py +++ b/kubernetes/aio/client/models/v1beta2_device.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2Device(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_allocation_configuration.py b/kubernetes/aio/client/models/v1beta2_device_allocation_configuration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_allocation_configuration.py rename to kubernetes/aio/client/models/v1beta2_device_allocation_configuration.py index 615351ffa5..0254f092db 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_allocation_configuration.py +++ b/kubernetes/aio/client/models/v1beta2_device_allocation_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceAllocationConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_allocation_result.py b/kubernetes/aio/client/models/v1beta2_device_allocation_result.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_allocation_result.py rename to kubernetes/aio/client/models/v1beta2_device_allocation_result.py index 522307ac4b..4fabcc2f19 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_allocation_result.py +++ b/kubernetes/aio/client/models/v1beta2_device_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceAllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_attribute.py b/kubernetes/aio/client/models/v1beta2_device_attribute.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_attribute.py rename to kubernetes/aio/client/models/v1beta2_device_attribute.py index d97773114d..7bd2829ca7 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_attribute.py +++ b/kubernetes/aio/client/models/v1beta2_device_attribute.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceAttribute(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_capacity.py b/kubernetes/aio/client/models/v1beta2_device_capacity.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_capacity.py rename to kubernetes/aio/client/models/v1beta2_device_capacity.py index c380dfa3ad..a4fc633243 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_capacity.py +++ b/kubernetes/aio/client/models/v1beta2_device_capacity.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceCapacity(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_claim.py b/kubernetes/aio/client/models/v1beta2_device_claim.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_claim.py rename to kubernetes/aio/client/models/v1beta2_device_claim.py index c0658e8e41..efa1055cba 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_claim.py +++ b/kubernetes/aio/client/models/v1beta2_device_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceClaim(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_claim_configuration.py b/kubernetes/aio/client/models/v1beta2_device_claim_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_claim_configuration.py rename to kubernetes/aio/client/models/v1beta2_device_claim_configuration.py index 40fa75e79d..93ad783651 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_claim_configuration.py +++ b/kubernetes/aio/client/models/v1beta2_device_claim_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceClaimConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_class.py b/kubernetes/aio/client/models/v1beta2_device_class.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_class.py rename to kubernetes/aio/client/models/v1beta2_device_class.py index ed99aa9a9a..441510774c 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_class.py +++ b/kubernetes/aio/client/models/v1beta2_device_class.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceClass(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_class_configuration.py b/kubernetes/aio/client/models/v1beta2_device_class_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_class_configuration.py rename to kubernetes/aio/client/models/v1beta2_device_class_configuration.py index 98f08d8088..d5ec9ebbd4 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_class_configuration.py +++ b/kubernetes/aio/client/models/v1beta2_device_class_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceClassConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_class_list.py b/kubernetes/aio/client/models/v1beta2_device_class_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_class_list.py rename to kubernetes/aio/client/models/v1beta2_device_class_list.py index 3894f9dfc9..9085e7a682 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_class_list.py +++ b/kubernetes/aio/client/models/v1beta2_device_class_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceClassList(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_class_spec.py b/kubernetes/aio/client/models/v1beta2_device_class_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_class_spec.py rename to kubernetes/aio/client/models/v1beta2_device_class_spec.py index db6bc1a899..c96ad0a62d 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_class_spec.py +++ b/kubernetes/aio/client/models/v1beta2_device_class_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceClassSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_constraint.py b/kubernetes/aio/client/models/v1beta2_device_constraint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_constraint.py rename to kubernetes/aio/client/models/v1beta2_device_constraint.py index 36ed711ff5..324920e668 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_constraint.py +++ b/kubernetes/aio/client/models/v1beta2_device_constraint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceConstraint(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_counter_consumption.py b/kubernetes/aio/client/models/v1beta2_device_counter_consumption.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_counter_consumption.py rename to kubernetes/aio/client/models/v1beta2_device_counter_consumption.py index 28f8b62f62..e8bcd6d842 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_counter_consumption.py +++ b/kubernetes/aio/client/models/v1beta2_device_counter_consumption.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceCounterConsumption(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_request.py b/kubernetes/aio/client/models/v1beta2_device_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_request.py rename to kubernetes/aio/client/models/v1beta2_device_request.py index 0ba7274374..fb563b15a4 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_request.py +++ b/kubernetes/aio/client/models/v1beta2_device_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceRequest(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_request_allocation_result.py b/kubernetes/aio/client/models/v1beta2_device_request_allocation_result.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_request_allocation_result.py rename to kubernetes/aio/client/models/v1beta2_device_request_allocation_result.py index 6a923b7fc4..23a71a1f53 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_request_allocation_result.py +++ b/kubernetes/aio/client/models/v1beta2_device_request_allocation_result.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceRequestAllocationResult(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_selector.py b/kubernetes/aio/client/models/v1beta2_device_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_selector.py rename to kubernetes/aio/client/models/v1beta2_device_selector.py index 4974af9e65..cb753309ef 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_selector.py +++ b/kubernetes/aio/client/models/v1beta2_device_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceSelector(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_sub_request.py b/kubernetes/aio/client/models/v1beta2_device_sub_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_sub_request.py rename to kubernetes/aio/client/models/v1beta2_device_sub_request.py index d955a8b99a..4fc96fcf65 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_sub_request.py +++ b/kubernetes/aio/client/models/v1beta2_device_sub_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceSubRequest(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_taint.py b/kubernetes/aio/client/models/v1beta2_device_taint.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_taint.py rename to kubernetes/aio/client/models/v1beta2_device_taint.py index fa0880ccde..e13997fc75 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_taint.py +++ b/kubernetes/aio/client/models/v1beta2_device_taint.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceTaint(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule.py b/kubernetes/aio/client/models/v1beta2_device_taint_rule.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_taint_rule.py rename to kubernetes/aio/client/models/v1beta2_device_taint_rule.py index e53b96dc96..a9de099c5b 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule.py +++ b/kubernetes/aio/client/models/v1beta2_device_taint_rule.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceTaintRule(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule_list.py b/kubernetes/aio/client/models/v1beta2_device_taint_rule_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_taint_rule_list.py rename to kubernetes/aio/client/models/v1beta2_device_taint_rule_list.py index 1e4b0f3a22..a2cfa7e5de 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule_list.py +++ b/kubernetes/aio/client/models/v1beta2_device_taint_rule_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceTaintRuleList(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule_spec.py b/kubernetes/aio/client/models/v1beta2_device_taint_rule_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_taint_rule_spec.py rename to kubernetes/aio/client/models/v1beta2_device_taint_rule_spec.py index 8bbcd11ef6..6182c5d645 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule_spec.py +++ b/kubernetes/aio/client/models/v1beta2_device_taint_rule_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceTaintRuleSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule_status.py b/kubernetes/aio/client/models/v1beta2_device_taint_rule_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_taint_rule_status.py rename to kubernetes/aio/client/models/v1beta2_device_taint_rule_status.py index d8519dcf0f..b8bd0f56ad 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_taint_rule_status.py +++ b/kubernetes/aio/client/models/v1beta2_device_taint_rule_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceTaintRuleStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_taint_selector.py b/kubernetes/aio/client/models/v1beta2_device_taint_selector.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_device_taint_selector.py rename to kubernetes/aio/client/models/v1beta2_device_taint_selector.py index 0fca55cadc..1e17181140 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_taint_selector.py +++ b/kubernetes/aio/client/models/v1beta2_device_taint_selector.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceTaintSelector(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_device_toleration.py b/kubernetes/aio/client/models/v1beta2_device_toleration.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_device_toleration.py rename to kubernetes/aio/client/models/v1beta2_device_toleration.py index 08a68ede5c..9af7a625ad 100644 --- a/kubernetes_asyncio/client/models/v1beta2_device_toleration.py +++ b/kubernetes/aio/client/models/v1beta2_device_toleration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2DeviceToleration(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_exact_device_request.py b/kubernetes/aio/client/models/v1beta2_exact_device_request.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_exact_device_request.py rename to kubernetes/aio/client/models/v1beta2_exact_device_request.py index c00e7ebfc7..d6533997cf 100644 --- a/kubernetes_asyncio/client/models/v1beta2_exact_device_request.py +++ b/kubernetes/aio/client/models/v1beta2_exact_device_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ExactDeviceRequest(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_network_device_data.py b/kubernetes/aio/client/models/v1beta2_network_device_data.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_network_device_data.py rename to kubernetes/aio/client/models/v1beta2_network_device_data.py index db72815e50..d5fc754d91 100644 --- a/kubernetes_asyncio/client/models/v1beta2_network_device_data.py +++ b/kubernetes/aio/client/models/v1beta2_network_device_data.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2NetworkDeviceData(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_node_allocatable_resource_mapping.py b/kubernetes/aio/client/models/v1beta2_node_allocatable_resource_mapping.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_node_allocatable_resource_mapping.py rename to kubernetes/aio/client/models/v1beta2_node_allocatable_resource_mapping.py index 79da50677f..88337e58f2 100644 --- a/kubernetes_asyncio/client/models/v1beta2_node_allocatable_resource_mapping.py +++ b/kubernetes/aio/client/models/v1beta2_node_allocatable_resource_mapping.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2NodeAllocatableResourceMapping(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_opaque_device_configuration.py b/kubernetes/aio/client/models/v1beta2_opaque_device_configuration.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_opaque_device_configuration.py rename to kubernetes/aio/client/models/v1beta2_opaque_device_configuration.py index d1e11529f4..0d894c7988 100644 --- a/kubernetes_asyncio/client/models/v1beta2_opaque_device_configuration.py +++ b/kubernetes/aio/client/models/v1beta2_opaque_device_configuration.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2OpaqueDeviceConfiguration(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim.py b/kubernetes/aio/client/models/v1beta2_resource_claim.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim.py rename to kubernetes/aio/client/models/v1beta2_resource_claim.py index 7ca5d85046..11f8307806 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaim(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim_consumer_reference.py b/kubernetes/aio/client/models/v1beta2_resource_claim_consumer_reference.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim_consumer_reference.py rename to kubernetes/aio/client/models/v1beta2_resource_claim_consumer_reference.py index a66e4f1a13..b0c4875365 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim_consumer_reference.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim_consumer_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaimConsumerReference(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim_list.py b/kubernetes/aio/client/models/v1beta2_resource_claim_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim_list.py rename to kubernetes/aio/client/models/v1beta2_resource_claim_list.py index 4bbf2cc40f..3b2de8d1b7 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim_list.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaimList(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim_spec.py b/kubernetes/aio/client/models/v1beta2_resource_claim_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim_spec.py rename to kubernetes/aio/client/models/v1beta2_resource_claim_spec.py index 58ef976a88..e8a9acf98f 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim_spec.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaimSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim_status.py b/kubernetes/aio/client/models/v1beta2_resource_claim_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim_status.py rename to kubernetes/aio/client/models/v1beta2_resource_claim_status.py index d6046296ff..28f3fdf3bb 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim_status.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaimStatus(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim_template.py b/kubernetes/aio/client/models/v1beta2_resource_claim_template.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim_template.py rename to kubernetes/aio/client/models/v1beta2_resource_claim_template.py index e99930b647..d5ac2df482 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim_template.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim_template.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaimTemplate(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim_template_list.py b/kubernetes/aio/client/models/v1beta2_resource_claim_template_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim_template_list.py rename to kubernetes/aio/client/models/v1beta2_resource_claim_template_list.py index 8ab521bf98..9f7fe16697 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim_template_list.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim_template_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaimTemplateList(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_claim_template_spec.py b/kubernetes/aio/client/models/v1beta2_resource_claim_template_spec.py similarity index 98% rename from kubernetes_asyncio/client/models/v1beta2_resource_claim_template_spec.py rename to kubernetes/aio/client/models/v1beta2_resource_claim_template_spec.py index d9a5f73422..5203ba50e7 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_claim_template_spec.py +++ b/kubernetes/aio/client/models/v1beta2_resource_claim_template_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceClaimTemplateSpec(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_pool.py b/kubernetes/aio/client/models/v1beta2_resource_pool.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_pool.py rename to kubernetes/aio/client/models/v1beta2_resource_pool.py index e490187177..5916c9d8e6 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_pool.py +++ b/kubernetes/aio/client/models/v1beta2_resource_pool.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourcePool(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_slice.py b/kubernetes/aio/client/models/v1beta2_resource_slice.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_slice.py rename to kubernetes/aio/client/models/v1beta2_resource_slice.py index 4ed2e362c9..b8dcb709b7 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_slice.py +++ b/kubernetes/aio/client/models/v1beta2_resource_slice.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceSlice(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_slice_list.py b/kubernetes/aio/client/models/v1beta2_resource_slice_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_slice_list.py rename to kubernetes/aio/client/models/v1beta2_resource_slice_list.py index ef14b681c5..02a820844c 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_slice_list.py +++ b/kubernetes/aio/client/models/v1beta2_resource_slice_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceSliceList(object): diff --git a/kubernetes_asyncio/client/models/v1beta2_resource_slice_spec.py b/kubernetes/aio/client/models/v1beta2_resource_slice_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v1beta2_resource_slice_spec.py rename to kubernetes/aio/client/models/v1beta2_resource_slice_spec.py index 119a49bde8..f1865ed991 100644 --- a/kubernetes_asyncio/client/models/v1beta2_resource_slice_spec.py +++ b/kubernetes/aio/client/models/v1beta2_resource_slice_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V1beta2ResourceSliceSpec(object): diff --git a/kubernetes_asyncio/client/models/v2_api_group_discovery.py b/kubernetes/aio/client/models/v2_api_group_discovery.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_api_group_discovery.py rename to kubernetes/aio/client/models/v2_api_group_discovery.py index 0c5eabe14c..ab3d69c59e 100644 --- a/kubernetes_asyncio/client/models/v2_api_group_discovery.py +++ b/kubernetes/aio/client/models/v2_api_group_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2APIGroupDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v2_api_group_discovery_list.py b/kubernetes/aio/client/models/v2_api_group_discovery_list.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_api_group_discovery_list.py rename to kubernetes/aio/client/models/v2_api_group_discovery_list.py index 72fd0d0095..b29dca2a5f 100644 --- a/kubernetes_asyncio/client/models/v2_api_group_discovery_list.py +++ b/kubernetes/aio/client/models/v2_api_group_discovery_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2APIGroupDiscoveryList(object): diff --git a/kubernetes_asyncio/client/models/v2_api_resource_discovery.py b/kubernetes/aio/client/models/v2_api_resource_discovery.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_api_resource_discovery.py rename to kubernetes/aio/client/models/v2_api_resource_discovery.py index 9012610bf9..20f2306e67 100644 --- a/kubernetes_asyncio/client/models/v2_api_resource_discovery.py +++ b/kubernetes/aio/client/models/v2_api_resource_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2APIResourceDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v2_api_subresource_discovery.py b/kubernetes/aio/client/models/v2_api_subresource_discovery.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_api_subresource_discovery.py rename to kubernetes/aio/client/models/v2_api_subresource_discovery.py index 8d143e772a..17205b685d 100644 --- a/kubernetes_asyncio/client/models/v2_api_subresource_discovery.py +++ b/kubernetes/aio/client/models/v2_api_subresource_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2APISubresourceDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v2_api_version_discovery.py b/kubernetes/aio/client/models/v2_api_version_discovery.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_api_version_discovery.py rename to kubernetes/aio/client/models/v2_api_version_discovery.py index 2c5a2115dd..20720f3100 100644 --- a/kubernetes_asyncio/client/models/v2_api_version_discovery.py +++ b/kubernetes/aio/client/models/v2_api_version_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2APIVersionDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v2_container_resource_metric_source.py b/kubernetes/aio/client/models/v2_container_resource_metric_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_container_resource_metric_source.py rename to kubernetes/aio/client/models/v2_container_resource_metric_source.py index a5725a8a4d..9f419d3a5f 100644 --- a/kubernetes_asyncio/client/models/v2_container_resource_metric_source.py +++ b/kubernetes/aio/client/models/v2_container_resource_metric_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ContainerResourceMetricSource(object): diff --git a/kubernetes_asyncio/client/models/v2_container_resource_metric_status.py b/kubernetes/aio/client/models/v2_container_resource_metric_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_container_resource_metric_status.py rename to kubernetes/aio/client/models/v2_container_resource_metric_status.py index 99db48c571..3f4853860d 100644 --- a/kubernetes_asyncio/client/models/v2_container_resource_metric_status.py +++ b/kubernetes/aio/client/models/v2_container_resource_metric_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ContainerResourceMetricStatus(object): diff --git a/kubernetes_asyncio/client/models/v2_cross_version_object_reference.py b/kubernetes/aio/client/models/v2_cross_version_object_reference.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_cross_version_object_reference.py rename to kubernetes/aio/client/models/v2_cross_version_object_reference.py index cdec05ec87..c4186f7672 100644 --- a/kubernetes_asyncio/client/models/v2_cross_version_object_reference.py +++ b/kubernetes/aio/client/models/v2_cross_version_object_reference.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2CrossVersionObjectReference(object): diff --git a/kubernetes_asyncio/client/models/v2_external_metric_source.py b/kubernetes/aio/client/models/v2_external_metric_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_external_metric_source.py rename to kubernetes/aio/client/models/v2_external_metric_source.py index b20c638d09..62f3f389ff 100644 --- a/kubernetes_asyncio/client/models/v2_external_metric_source.py +++ b/kubernetes/aio/client/models/v2_external_metric_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ExternalMetricSource(object): diff --git a/kubernetes_asyncio/client/models/v2_external_metric_status.py b/kubernetes/aio/client/models/v2_external_metric_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_external_metric_status.py rename to kubernetes/aio/client/models/v2_external_metric_status.py index 8723547792..c812875354 100644 --- a/kubernetes_asyncio/client/models/v2_external_metric_status.py +++ b/kubernetes/aio/client/models/v2_external_metric_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ExternalMetricStatus(object): diff --git a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler.py b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler.py rename to kubernetes/aio/client/models/v2_horizontal_pod_autoscaler.py index 7d98a6586e..8e6d9a818f 100644 --- a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler.py +++ b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HorizontalPodAutoscaler(object): diff --git a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_behavior.py b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_behavior.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_behavior.py rename to kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_behavior.py index 4e3012e7de..b715cd2587 100644 --- a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_behavior.py +++ b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_behavior.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HorizontalPodAutoscalerBehavior(object): diff --git a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_condition.py b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_condition.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_condition.py rename to kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_condition.py index dba28f3649..1c4065d211 100644 --- a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_condition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HorizontalPodAutoscalerCondition(object): diff --git a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_list.py b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_list.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_list.py rename to kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_list.py index e90e1b8755..e4945f162d 100644 --- a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_list.py +++ b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HorizontalPodAutoscalerList(object): diff --git a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_spec.py b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_spec.py rename to kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_spec.py index efe1526669..d886c6c510 100644 --- a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HorizontalPodAutoscalerSpec(object): diff --git a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_status.py b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_status.py rename to kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_status.py index 0cc7586153..a074b6be6c 100644 --- a/kubernetes_asyncio/client/models/v2_horizontal_pod_autoscaler_status.py +++ b/kubernetes/aio/client/models/v2_horizontal_pod_autoscaler_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HorizontalPodAutoscalerStatus(object): diff --git a/kubernetes_asyncio/client/models/v2_hpa_scaling_policy.py b/kubernetes/aio/client/models/v2_hpa_scaling_policy.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_hpa_scaling_policy.py rename to kubernetes/aio/client/models/v2_hpa_scaling_policy.py index 0d8d712f74..d328e6f4ca 100644 --- a/kubernetes_asyncio/client/models/v2_hpa_scaling_policy.py +++ b/kubernetes/aio/client/models/v2_hpa_scaling_policy.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HPAScalingPolicy(object): diff --git a/kubernetes_asyncio/client/models/v2_hpa_scaling_rules.py b/kubernetes/aio/client/models/v2_hpa_scaling_rules.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_hpa_scaling_rules.py rename to kubernetes/aio/client/models/v2_hpa_scaling_rules.py index 1267c54b8b..ef2d829c94 100644 --- a/kubernetes_asyncio/client/models/v2_hpa_scaling_rules.py +++ b/kubernetes/aio/client/models/v2_hpa_scaling_rules.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2HPAScalingRules(object): diff --git a/kubernetes_asyncio/client/models/v2_metric_identifier.py b/kubernetes/aio/client/models/v2_metric_identifier.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_metric_identifier.py rename to kubernetes/aio/client/models/v2_metric_identifier.py index e9bea78444..6c7c0407b2 100644 --- a/kubernetes_asyncio/client/models/v2_metric_identifier.py +++ b/kubernetes/aio/client/models/v2_metric_identifier.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2MetricIdentifier(object): diff --git a/kubernetes_asyncio/client/models/v2_metric_spec.py b/kubernetes/aio/client/models/v2_metric_spec.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_metric_spec.py rename to kubernetes/aio/client/models/v2_metric_spec.py index ab1bb0a932..3b16213032 100644 --- a/kubernetes_asyncio/client/models/v2_metric_spec.py +++ b/kubernetes/aio/client/models/v2_metric_spec.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2MetricSpec(object): diff --git a/kubernetes_asyncio/client/models/v2_metric_status.py b/kubernetes/aio/client/models/v2_metric_status.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_metric_status.py rename to kubernetes/aio/client/models/v2_metric_status.py index b0140a2be5..469ba33272 100644 --- a/kubernetes_asyncio/client/models/v2_metric_status.py +++ b/kubernetes/aio/client/models/v2_metric_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2MetricStatus(object): diff --git a/kubernetes_asyncio/client/models/v2_metric_target.py b/kubernetes/aio/client/models/v2_metric_target.py similarity index 99% rename from kubernetes_asyncio/client/models/v2_metric_target.py rename to kubernetes/aio/client/models/v2_metric_target.py index 55f790dc7a..36aae4b5cc 100644 --- a/kubernetes_asyncio/client/models/v2_metric_target.py +++ b/kubernetes/aio/client/models/v2_metric_target.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2MetricTarget(object): diff --git a/kubernetes_asyncio/client/models/v2_metric_value_status.py b/kubernetes/aio/client/models/v2_metric_value_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_metric_value_status.py rename to kubernetes/aio/client/models/v2_metric_value_status.py index 9557419e9f..4b56262623 100644 --- a/kubernetes_asyncio/client/models/v2_metric_value_status.py +++ b/kubernetes/aio/client/models/v2_metric_value_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2MetricValueStatus(object): diff --git a/kubernetes_asyncio/client/models/v2_object_metric_source.py b/kubernetes/aio/client/models/v2_object_metric_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_object_metric_source.py rename to kubernetes/aio/client/models/v2_object_metric_source.py index cd1f5ddbf8..fa5ea1fcab 100644 --- a/kubernetes_asyncio/client/models/v2_object_metric_source.py +++ b/kubernetes/aio/client/models/v2_object_metric_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ObjectMetricSource(object): diff --git a/kubernetes_asyncio/client/models/v2_object_metric_status.py b/kubernetes/aio/client/models/v2_object_metric_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_object_metric_status.py rename to kubernetes/aio/client/models/v2_object_metric_status.py index 1e863616f5..f29a8cbb56 100644 --- a/kubernetes_asyncio/client/models/v2_object_metric_status.py +++ b/kubernetes/aio/client/models/v2_object_metric_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ObjectMetricStatus(object): diff --git a/kubernetes_asyncio/client/models/v2_pods_metric_source.py b/kubernetes/aio/client/models/v2_pods_metric_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_pods_metric_source.py rename to kubernetes/aio/client/models/v2_pods_metric_source.py index 5101e58a05..e85d7e25df 100644 --- a/kubernetes_asyncio/client/models/v2_pods_metric_source.py +++ b/kubernetes/aio/client/models/v2_pods_metric_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2PodsMetricSource(object): diff --git a/kubernetes_asyncio/client/models/v2_pods_metric_status.py b/kubernetes/aio/client/models/v2_pods_metric_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_pods_metric_status.py rename to kubernetes/aio/client/models/v2_pods_metric_status.py index b78a8b4bef..edb873272b 100644 --- a/kubernetes_asyncio/client/models/v2_pods_metric_status.py +++ b/kubernetes/aio/client/models/v2_pods_metric_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2PodsMetricStatus(object): diff --git a/kubernetes_asyncio/client/models/v2_resource_metric_source.py b/kubernetes/aio/client/models/v2_resource_metric_source.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_resource_metric_source.py rename to kubernetes/aio/client/models/v2_resource_metric_source.py index d4ea39d2ce..a9aa70ae72 100644 --- a/kubernetes_asyncio/client/models/v2_resource_metric_source.py +++ b/kubernetes/aio/client/models/v2_resource_metric_source.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ResourceMetricSource(object): diff --git a/kubernetes_asyncio/client/models/v2_resource_metric_status.py b/kubernetes/aio/client/models/v2_resource_metric_status.py similarity index 98% rename from kubernetes_asyncio/client/models/v2_resource_metric_status.py rename to kubernetes/aio/client/models/v2_resource_metric_status.py index f05d66fb71..478915519d 100644 --- a/kubernetes_asyncio/client/models/v2_resource_metric_status.py +++ b/kubernetes/aio/client/models/v2_resource_metric_status.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2ResourceMetricStatus(object): diff --git a/kubernetes_asyncio/client/models/v2beta1_api_group_discovery.py b/kubernetes/aio/client/models/v2beta1_api_group_discovery.py similarity index 98% rename from kubernetes_asyncio/client/models/v2beta1_api_group_discovery.py rename to kubernetes/aio/client/models/v2beta1_api_group_discovery.py index d7e3a64a9e..9d6f99d677 100644 --- a/kubernetes_asyncio/client/models/v2beta1_api_group_discovery.py +++ b/kubernetes/aio/client/models/v2beta1_api_group_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2beta1APIGroupDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v2beta1_api_group_discovery_list.py b/kubernetes/aio/client/models/v2beta1_api_group_discovery_list.py similarity index 98% rename from kubernetes_asyncio/client/models/v2beta1_api_group_discovery_list.py rename to kubernetes/aio/client/models/v2beta1_api_group_discovery_list.py index 83764183c8..a96ef000d0 100644 --- a/kubernetes_asyncio/client/models/v2beta1_api_group_discovery_list.py +++ b/kubernetes/aio/client/models/v2beta1_api_group_discovery_list.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2beta1APIGroupDiscoveryList(object): diff --git a/kubernetes_asyncio/client/models/v2beta1_api_resource_discovery.py b/kubernetes/aio/client/models/v2beta1_api_resource_discovery.py similarity index 99% rename from kubernetes_asyncio/client/models/v2beta1_api_resource_discovery.py rename to kubernetes/aio/client/models/v2beta1_api_resource_discovery.py index 8d78e06747..39a33008cc 100644 --- a/kubernetes_asyncio/client/models/v2beta1_api_resource_discovery.py +++ b/kubernetes/aio/client/models/v2beta1_api_resource_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2beta1APIResourceDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v2beta1_api_subresource_discovery.py b/kubernetes/aio/client/models/v2beta1_api_subresource_discovery.py similarity index 99% rename from kubernetes_asyncio/client/models/v2beta1_api_subresource_discovery.py rename to kubernetes/aio/client/models/v2beta1_api_subresource_discovery.py index 5a11a1d463..9a0ec0269a 100644 --- a/kubernetes_asyncio/client/models/v2beta1_api_subresource_discovery.py +++ b/kubernetes/aio/client/models/v2beta1_api_subresource_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2beta1APISubresourceDiscovery(object): diff --git a/kubernetes_asyncio/client/models/v2beta1_api_version_discovery.py b/kubernetes/aio/client/models/v2beta1_api_version_discovery.py similarity index 98% rename from kubernetes_asyncio/client/models/v2beta1_api_version_discovery.py rename to kubernetes/aio/client/models/v2beta1_api_version_discovery.py index daecbe20c5..8923bd31fc 100644 --- a/kubernetes_asyncio/client/models/v2beta1_api_version_discovery.py +++ b/kubernetes/aio/client/models/v2beta1_api_version_discovery.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class V2beta1APIVersionDiscovery(object): diff --git a/kubernetes_asyncio/client/models/version_info.py b/kubernetes/aio/client/models/version_info.py similarity index 99% rename from kubernetes_asyncio/client/models/version_info.py rename to kubernetes/aio/client/models/version_info.py index acecd7865e..6752bece47 100644 --- a/kubernetes_asyncio/client/models/version_info.py +++ b/kubernetes/aio/client/models/version_info.py @@ -18,7 +18,7 @@ import re # noqa: F401 import six -from kubernetes_asyncio.client.configuration import Configuration +from kubernetes.aio.client.configuration import Configuration class VersionInfo(object): diff --git a/kubernetes_asyncio/client/rest.py b/kubernetes/aio/client/rest.py similarity index 99% rename from kubernetes_asyncio/client/rest.py rename to kubernetes/aio/client/rest.py index 4df1513710..d52d91ffcf 100644 --- a/kubernetes_asyncio/client/rest.py +++ b/kubernetes/aio/client/rest.py @@ -20,7 +20,7 @@ # python 2 and python 3 compatibility library from six.moves.urllib.parse import urlencode -from kubernetes_asyncio.client.exceptions import ApiException, ApiValueError +from kubernetes.aio.client.exceptions import ApiException, ApiValueError logger = logging.getLogger(__name__) diff --git a/kubernetes_asyncio/client/rest.py.orig b/kubernetes/aio/client/rest.py.orig similarity index 99% rename from kubernetes_asyncio/client/rest.py.orig rename to kubernetes/aio/client/rest.py.orig index e6306162de..3920cbfcaf 100644 --- a/kubernetes_asyncio/client/rest.py.orig +++ b/kubernetes/aio/client/rest.py.orig @@ -20,7 +20,7 @@ import aiohttp # python 2 and python 3 compatibility library from six.moves.urllib.parse import urlencode -from kubernetes_asyncio.client.exceptions import ApiException, ApiValueError +from kubernetes.aio.client.exceptions import ApiException, ApiValueError logger = logging.getLogger(__name__) diff --git a/kubernetes_asyncio/config/__init__.py b/kubernetes/aio/config/__init__.py similarity index 100% rename from kubernetes_asyncio/config/__init__.py rename to kubernetes/aio/config/__init__.py diff --git a/kubernetes_asyncio/config/config_exception.py b/kubernetes/aio/config/config_exception.py similarity index 100% rename from kubernetes_asyncio/config/config_exception.py rename to kubernetes/aio/config/config_exception.py diff --git a/kubernetes_asyncio/config/dateutil.py b/kubernetes/aio/config/dateutil.py similarity index 100% rename from kubernetes_asyncio/config/dateutil.py rename to kubernetes/aio/config/dateutil.py diff --git a/kubernetes_asyncio/config/dateutil_test.py b/kubernetes/aio/config/dateutil_test.py similarity index 100% rename from kubernetes_asyncio/config/dateutil_test.py rename to kubernetes/aio/config/dateutil_test.py diff --git a/kubernetes_asyncio/config/exec_provider.py b/kubernetes/aio/config/exec_provider.py similarity index 100% rename from kubernetes_asyncio/config/exec_provider.py rename to kubernetes/aio/config/exec_provider.py diff --git a/kubernetes_asyncio/config/exec_provider_test.py b/kubernetes/aio/config/exec_provider_test.py similarity index 98% rename from kubernetes_asyncio/config/exec_provider_test.py rename to kubernetes/aio/config/exec_provider_test.py index ad8c9aee45..d875edfea3 100644 --- a/kubernetes_asyncio/config/exec_provider_test.py +++ b/kubernetes/aio/config/exec_provider_test.py @@ -41,7 +41,7 @@ def setUp(self): } """ - process_patch = patch('kubernetes_asyncio.config.exec_provider.asyncio.create_subprocess_exec') + process_patch = patch('kubernetes.aio.config.exec_provider.asyncio.create_subprocess_exec') self.exec_mock = process_patch.start() self.process_mock = self.exec_mock.return_value self.process_mock.stdout.read = AsyncMock(return_value=self.output_ok) diff --git a/kubernetes_asyncio/config/google_auth.py b/kubernetes/aio/config/google_auth.py similarity index 100% rename from kubernetes_asyncio/config/google_auth.py rename to kubernetes/aio/config/google_auth.py diff --git a/kubernetes_asyncio/config/google_auth_test.py b/kubernetes/aio/config/google_auth_test.py similarity index 100% rename from kubernetes_asyncio/config/google_auth_test.py rename to kubernetes/aio/config/google_auth_test.py diff --git a/kubernetes_asyncio/config/incluster_config.py b/kubernetes/aio/config/incluster_config.py similarity index 97% rename from kubernetes_asyncio/config/incluster_config.py rename to kubernetes/aio/config/incluster_config.py index 4a14038ebe..a476edfcea 100644 --- a/kubernetes_asyncio/config/incluster_config.py +++ b/kubernetes/aio/config/incluster_config.py @@ -15,7 +15,7 @@ import datetime import os -from kubernetes_asyncio.client import Configuration +from kubernetes.aio.client import Configuration from .config_exception import ConfigException @@ -88,7 +88,7 @@ def _set_config(self, client_configuration): client_configuration.host = self.host client_configuration.ssl_ca_cert = self.ssl_ca_cert if self.token is not None: - client_configuration.api_key['authorization'] = self.token + client_configuration.api_key['BearerToken'] = self.token if not self._try_refresh_token: return diff --git a/kubernetes_asyncio/config/incluster_config_test.py b/kubernetes/aio/config/incluster_config_test.py similarity index 95% rename from kubernetes_asyncio/config/incluster_config_test.py rename to kubernetes/aio/config/incluster_config_test.py index 43cf7e03d1..bc8de7a270 100644 --- a/kubernetes_asyncio/config/incluster_config_test.py +++ b/kubernetes/aio/config/incluster_config_test.py @@ -18,7 +18,7 @@ import time import unittest -from kubernetes_asyncio.client import Configuration +from kubernetes.aio.client import Configuration from .config_exception import ConfigException from .incluster_config import (SERVICE_HOST_ENV_NAME, SERVICE_PORT_ENV_NAME, @@ -91,7 +91,7 @@ async def test_refresh_token(self): loader.load_and_set(config) self.assertEqual('bearer ' + _TEST_TOKEN, - await config.get_api_key_with_prefix('authorization')) + await config.get_api_key_with_prefix('BearerToken')) self.assertEqual('bearer ' + _TEST_TOKEN, loader.token) self.assertIsNotNone(loader.token_expires_at) @@ -100,11 +100,11 @@ async def test_refresh_token(self): loader._token_filename = self._create_file_with_temp_content( _TEST_NEW_TOKEN) self.assertEqual('bearer ' + _TEST_TOKEN, - await config.get_api_key_with_prefix('authorization')) + await config.get_api_key_with_prefix('BearerToken')) loader.token_expires_at = datetime.datetime.now() self.assertEqual('bearer ' + _TEST_NEW_TOKEN, - await config.get_api_key_with_prefix('authorization')) + await config.get_api_key_with_prefix('BearerToken')) self.assertEqual('bearer ' + _TEST_NEW_TOKEN, loader.token) self.assertGreater(loader.token_expires_at, old_token_expires_at) diff --git a/kubernetes_asyncio/config/kube_config.py b/kubernetes/aio/config/kube_config.py similarity index 99% rename from kubernetes_asyncio/config/kube_config.py rename to kubernetes/aio/config/kube_config.py index 993989e2ee..70d5623da9 100644 --- a/kubernetes_asyncio/config/kube_config.py +++ b/kubernetes/aio/config/kube_config.py @@ -26,7 +26,7 @@ import yaml -from kubernetes_asyncio.client import ApiClient, Configuration +from kubernetes.aio.client import ApiClient, Configuration from .config_exception import ConfigException from .dateutil import UTC, parse_rfc3339 @@ -626,7 +626,7 @@ async def load_kube_config_from_dict(config_dict, context=None, :param config_dict: Takes the config file as a dict. :param context: set the active context. If is set to None, current_context from config file will be used. - :param client_configuration: The kubernetes_asyncio.client.Configuration to + :param client_configuration: The kubernetes.aio.client.Configuration to set configs to. :param temp_file_path: directory where temp files are stored (default - system temp dir). diff --git a/kubernetes_asyncio/config/kube_config_test.py b/kubernetes/aio/config/kube_config_test.py similarity index 99% rename from kubernetes_asyncio/config/kube_config_test.py rename to kubernetes/aio/config/kube_config_test.py index c822df593c..a251294afc 100644 --- a/kubernetes_asyncio/config/kube_config_test.py +++ b/kubernetes/aio/config/kube_config_test.py @@ -745,7 +745,7 @@ async def test_oidc_no_refresh(self): await loader._load_authentication() self.assertEqual(TEST_OIDC_TOKEN, loader.token) - @patch('kubernetes_asyncio.config.kube_config.OpenIDRequestor.refresh_token') + @patch('kubernetes.aio.config.kube_config.OpenIDRequestor.refresh_token') async def test_oidc_with_refresh(self, mock_refresh_token): mock_refresh_token.return_value = { 'id_token': 'abc123', @@ -759,7 +759,7 @@ async def test_oidc_with_refresh(self, mock_refresh_token): await loader._load_authentication() self.assertEqual('Bearer abc123', loader.token) - @patch('kubernetes_asyncio.config.kube_config.OpenIDRequestor.refresh_token') + @patch('kubernetes.aio.config.kube_config.OpenIDRequestor.refresh_token') async def test_oidc_with_refresh_no_idp_cert_data(self, mock_refresh_token): mock_refresh_token.return_value = { 'id_token': 'abc123', @@ -796,7 +796,7 @@ async def test_invalid_refresh(self): with self.assertRaises(ConfigException): await loader._refresh_oidc({'config': {}}) - @patch('kubernetes_asyncio.config.kube_config.ExecProvider.run') + @patch('kubernetes.aio.config.kube_config.ExecProvider.run') async def test_user_exec_auth(self, mock): token = "dummy" mock.return_value = { @@ -810,7 +810,7 @@ async def test_user_exec_auth(self, mock): active_context="exec_cred_user").load_and_set(actual) self.assertEqual(expected, actual) - @patch('kubernetes_asyncio.config.kube_config.ExecProvider.run') + @patch('kubernetes.aio.config.kube_config.ExecProvider.run') async def test_user_exec_auth_certificates(self, mock): mock.return_value = { "clientCertificateData": TEST_CLIENT_CERT, diff --git a/kubernetes_asyncio/config/openid.py b/kubernetes/aio/config/openid.py similarity index 100% rename from kubernetes_asyncio/config/openid.py rename to kubernetes/aio/config/openid.py diff --git a/kubernetes_asyncio/config/openid_test.py b/kubernetes/aio/config/openid_test.py similarity index 90% rename from kubernetes_asyncio/config/openid_test.py rename to kubernetes/aio/config/openid_test.py index 3544320d93..abe650f00b 100644 --- a/kubernetes_asyncio/config/openid_test.py +++ b/kubernetes/aio/config/openid_test.py @@ -37,7 +37,7 @@ def working_client(): app.router.add_get('/.well-known/openid-configuration', respond_json({'token_endpoint': '/token'})) app.router.add_post('/token', respond_json({'id-token': 'id-token-data', 'refresh-token': 'refresh-token-data'})) - with patch('kubernetes_asyncio.config.openid.aiohttp.ClientSession') as _client_session: + with patch('kubernetes.aio.config.openid.aiohttp.ClientSession') as _client_session: client = _TestClient(_TestServer(app, loop=loop), loop=loop) _client_session.return_value = client @@ -50,7 +50,7 @@ def fail_well_known_client(): app = web.Application() app.router.add_get('/.well-known/openid-configuration', make_responder(web.Response(status=500))) - with patch('kubernetes_asyncio.config.openid.aiohttp.ClientSession') as _client_session: + with patch('kubernetes.aio.config.openid.aiohttp.ClientSession') as _client_session: client = _TestClient(_TestServer(app, loop=loop), loop=loop) _client_session.return_value = client yield client @@ -63,7 +63,7 @@ def fail_token_request_client(): app.router.add_get('/.well-known/openid-configuration', respond_json({'token_endpoint': '/token'})) app.router.add_post('/token', make_responder(web.Response(status=500))) - with patch('kubernetes_asyncio.config.openid.aiohttp.ClientSession') as _client_session: + with patch('kubernetes.aio.config.openid.aiohttp.ClientSession') as _client_session: client = _TestClient(_TestServer(app, loop=loop), loop=loop) _client_session.return_value = client diff --git a/kubernetes_asyncio/docs/AdmissionregistrationApi.md b/kubernetes/aio/docs/AdmissionregistrationApi.md similarity index 79% rename from kubernetes_asyncio/docs/AdmissionregistrationApi.md rename to kubernetes/aio/docs/AdmissionregistrationApi.md index 331d109534..8171e19046 100644 --- a/kubernetes_asyncio/docs/AdmissionregistrationApi.md +++ b/kubernetes/aio/docs/AdmissionregistrationApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AdmissionregistrationApi +# kubernetes.aio.client.AdmissionregistrationApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationApi(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/AdmissionregistrationV1Api.md b/kubernetes/aio/docs/AdmissionregistrationV1Api.md similarity index 83% rename from kubernetes_asyncio/docs/AdmissionregistrationV1Api.md rename to kubernetes/aio/docs/AdmissionregistrationV1Api.md index 5058f5caaa..13c101d4fe 100644 --- a/kubernetes_asyncio/docs/AdmissionregistrationV1Api.md +++ b/kubernetes/aio/docs/AdmissionregistrationV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AdmissionregistrationV1Api +# kubernetes.aio.client.AdmissionregistrationV1Api All URIs are relative to *http://localhost* @@ -65,16 +65,16 @@ create a MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -85,11 +85,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) - body = kubernetes_asyncio.client.V1MutatingAdmissionPolicy() # V1MutatingAdmissionPolicy | + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) + body = kubernetes.aio.client.V1MutatingAdmissionPolicy() # V1MutatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -148,16 +148,16 @@ create a MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -168,11 +168,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) - body = kubernetes_asyncio.client.V1MutatingAdmissionPolicyBinding() # V1MutatingAdmissionPolicyBinding | + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) + body = kubernetes.aio.client.V1MutatingAdmissionPolicyBinding() # V1MutatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -231,16 +231,16 @@ create a MutatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -251,11 +251,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) - body = kubernetes_asyncio.client.V1MutatingWebhookConfiguration() # V1MutatingWebhookConfiguration | + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) + body = kubernetes.aio.client.V1MutatingWebhookConfiguration() # V1MutatingWebhookConfiguration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -314,16 +314,16 @@ create a ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -334,11 +334,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) - body = kubernetes_asyncio.client.V1ValidatingAdmissionPolicy() # V1ValidatingAdmissionPolicy | + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) + body = kubernetes.aio.client.V1ValidatingAdmissionPolicy() # V1ValidatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -397,16 +397,16 @@ create a ValidatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -417,11 +417,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) - body = kubernetes_asyncio.client.V1ValidatingAdmissionPolicyBinding() # V1ValidatingAdmissionPolicyBinding | + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) + body = kubernetes.aio.client.V1ValidatingAdmissionPolicyBinding() # V1ValidatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -480,16 +480,16 @@ create a ValidatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -500,11 +500,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) - body = kubernetes_asyncio.client.V1ValidatingWebhookConfiguration() # V1ValidatingWebhookConfiguration | + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) + body = kubernetes.aio.client.V1ValidatingWebhookConfiguration() # V1ValidatingWebhookConfiguration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -563,16 +563,16 @@ delete collection of MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -583,18 +583,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -602,7 +602,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_mutating_admission_policy(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -616,13 +616,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -666,16 +666,16 @@ delete collection of MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -686,18 +686,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -705,7 +705,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_mutating_admission_policy_binding(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -719,13 +719,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -769,16 +769,16 @@ delete collection of MutatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -789,18 +789,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -808,7 +808,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_mutating_webhook_configuration(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -822,13 +822,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -872,16 +872,16 @@ delete collection of ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -892,18 +892,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -911,7 +911,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_validating_admission_policy(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -925,13 +925,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -975,16 +975,16 @@ delete collection of ValidatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -995,18 +995,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1014,7 +1014,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_validating_admission_policy_binding(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -1028,13 +1028,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1078,16 +1078,16 @@ delete collection of ValidatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1098,18 +1098,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1117,7 +1117,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_validating_webhook_configuration(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -1131,13 +1131,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1181,16 +1181,16 @@ delete a MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1201,10 +1201,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1212,7 +1212,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1269,16 +1269,16 @@ delete a MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1289,10 +1289,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1300,7 +1300,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1357,16 +1357,16 @@ delete a MutatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1377,10 +1377,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingWebhookConfiguration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1388,7 +1388,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_mutating_webhook_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1445,16 +1445,16 @@ delete a ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1465,10 +1465,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1476,7 +1476,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_validating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1533,16 +1533,16 @@ delete a ValidatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1553,10 +1553,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1564,7 +1564,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_validating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1621,16 +1621,16 @@ delete a ValidatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1641,10 +1641,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingWebhookConfiguration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1652,7 +1652,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_validating_webhook_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1709,16 +1709,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1729,10 +1729,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1778,16 +1778,16 @@ list or watch objects of kind MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1798,16 +1798,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1828,10 +1828,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1873,16 +1873,16 @@ list or watch objects of kind MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1893,16 +1893,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1923,10 +1923,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1968,16 +1968,16 @@ list or watch objects of kind MutatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1988,16 +1988,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2018,10 +2018,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2063,16 +2063,16 @@ list or watch objects of kind ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2083,16 +2083,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2113,10 +2113,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2158,16 +2158,16 @@ list or watch objects of kind ValidatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2178,16 +2178,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2208,10 +2208,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2253,16 +2253,16 @@ list or watch objects of kind ValidatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2273,16 +2273,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2303,10 +2303,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2348,16 +2348,16 @@ partially update the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2368,10 +2368,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2434,16 +2434,16 @@ partially update the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2454,10 +2454,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2520,16 +2520,16 @@ partially update the specified MutatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2540,10 +2540,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingWebhookConfiguration body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2606,16 +2606,16 @@ partially update the specified ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2626,10 +2626,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicy body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2692,16 +2692,16 @@ partially update the specified ValidatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2712,10 +2712,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicyBinding body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2778,16 +2778,16 @@ partially update status of the specified ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2798,10 +2798,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicy body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2864,16 +2864,16 @@ partially update the specified ValidatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2884,10 +2884,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingWebhookConfiguration body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2950,16 +2950,16 @@ read the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2970,10 +2970,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3025,16 +3025,16 @@ read the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3045,10 +3045,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3100,16 +3100,16 @@ read the specified MutatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3120,10 +3120,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingWebhookConfiguration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3175,16 +3175,16 @@ read the specified ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3195,10 +3195,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3250,16 +3250,16 @@ read the specified ValidatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3270,10 +3270,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3325,16 +3325,16 @@ read status of the specified ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3345,10 +3345,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3400,16 +3400,16 @@ read the specified ValidatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3420,10 +3420,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingWebhookConfiguration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3475,16 +3475,16 @@ replace the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3495,12 +3495,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy -body = kubernetes_asyncio.client.V1MutatingAdmissionPolicy() # V1MutatingAdmissionPolicy | +body = kubernetes.aio.client.V1MutatingAdmissionPolicy() # V1MutatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3559,16 +3559,16 @@ replace the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3579,12 +3579,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding -body = kubernetes_asyncio.client.V1MutatingAdmissionPolicyBinding() # V1MutatingAdmissionPolicyBinding | +body = kubernetes.aio.client.V1MutatingAdmissionPolicyBinding() # V1MutatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3643,16 +3643,16 @@ replace the specified MutatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3663,12 +3663,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the MutatingWebhookConfiguration -body = kubernetes_asyncio.client.V1MutatingWebhookConfiguration() # V1MutatingWebhookConfiguration | +body = kubernetes.aio.client.V1MutatingWebhookConfiguration() # V1MutatingWebhookConfiguration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3727,16 +3727,16 @@ replace the specified ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3747,12 +3747,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicy -body = kubernetes_asyncio.client.V1ValidatingAdmissionPolicy() # V1ValidatingAdmissionPolicy | +body = kubernetes.aio.client.V1ValidatingAdmissionPolicy() # V1ValidatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3811,16 +3811,16 @@ replace the specified ValidatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3831,12 +3831,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicyBinding -body = kubernetes_asyncio.client.V1ValidatingAdmissionPolicyBinding() # V1ValidatingAdmissionPolicyBinding | +body = kubernetes.aio.client.V1ValidatingAdmissionPolicyBinding() # V1ValidatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3895,16 +3895,16 @@ replace status of the specified ValidatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3915,12 +3915,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingAdmissionPolicy -body = kubernetes_asyncio.client.V1ValidatingAdmissionPolicy() # V1ValidatingAdmissionPolicy | +body = kubernetes.aio.client.V1ValidatingAdmissionPolicy() # V1ValidatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3979,16 +3979,16 @@ replace the specified ValidatingWebhookConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3999,12 +3999,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1Api(api_client) name = 'name_example' # str | name of the ValidatingWebhookConfiguration -body = kubernetes_asyncio.client.V1ValidatingWebhookConfiguration() # V1ValidatingWebhookConfiguration | +body = kubernetes.aio.client.V1ValidatingWebhookConfiguration() # V1ValidatingWebhookConfiguration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/AdmissionregistrationV1ServiceReference.md b/kubernetes/aio/docs/AdmissionregistrationV1ServiceReference.md similarity index 100% rename from kubernetes_asyncio/docs/AdmissionregistrationV1ServiceReference.md rename to kubernetes/aio/docs/AdmissionregistrationV1ServiceReference.md diff --git a/kubernetes_asyncio/docs/AdmissionregistrationV1WebhookClientConfig.md b/kubernetes/aio/docs/AdmissionregistrationV1WebhookClientConfig.md similarity index 100% rename from kubernetes_asyncio/docs/AdmissionregistrationV1WebhookClientConfig.md rename to kubernetes/aio/docs/AdmissionregistrationV1WebhookClientConfig.md diff --git a/kubernetes_asyncio/docs/AdmissionregistrationV1alpha1Api.md b/kubernetes/aio/docs/AdmissionregistrationV1alpha1Api.md similarity index 82% rename from kubernetes_asyncio/docs/AdmissionregistrationV1alpha1Api.md rename to kubernetes/aio/docs/AdmissionregistrationV1alpha1Api.md index ef135187a6..281795bb6f 100644 --- a/kubernetes_asyncio/docs/AdmissionregistrationV1alpha1Api.md +++ b/kubernetes/aio/docs/AdmissionregistrationV1alpha1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api +# kubernetes.aio.client.AdmissionregistrationV1alpha1Api All URIs are relative to *http://localhost* @@ -34,16 +34,16 @@ create a MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -54,11 +54,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) - body = kubernetes_asyncio.client.V1alpha1MutatingAdmissionPolicy() # V1alpha1MutatingAdmissionPolicy | + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) + body = kubernetes.aio.client.V1alpha1MutatingAdmissionPolicy() # V1alpha1MutatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -117,16 +117,16 @@ create a MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -137,11 +137,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) - body = kubernetes_asyncio.client.V1alpha1MutatingAdmissionPolicyBinding() # V1alpha1MutatingAdmissionPolicyBinding | + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) + body = kubernetes.aio.client.V1alpha1MutatingAdmissionPolicyBinding() # V1alpha1MutatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -200,16 +200,16 @@ delete collection of MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -220,18 +220,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -239,7 +239,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_mutating_admission_policy(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -253,13 +253,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -303,16 +303,16 @@ delete collection of MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -323,18 +323,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -342,7 +342,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_mutating_admission_policy_binding(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -356,13 +356,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -406,16 +406,16 @@ delete a MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -426,10 +426,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -437,7 +437,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -494,16 +494,16 @@ delete a MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -514,10 +514,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -525,7 +525,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -582,16 +582,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -602,10 +602,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -651,16 +651,16 @@ list or watch objects of kind MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -671,16 +671,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -701,10 +701,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -746,16 +746,16 @@ list or watch objects of kind MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -766,16 +766,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -796,10 +796,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -841,16 +841,16 @@ partially update the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -861,10 +861,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -927,16 +927,16 @@ partially update the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -947,10 +947,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1013,16 +1013,16 @@ read the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1033,10 +1033,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1088,16 +1088,16 @@ read the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1108,10 +1108,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1163,16 +1163,16 @@ replace the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1183,12 +1183,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy -body = kubernetes_asyncio.client.V1alpha1MutatingAdmissionPolicy() # V1alpha1MutatingAdmissionPolicy | +body = kubernetes.aio.client.V1alpha1MutatingAdmissionPolicy() # V1alpha1MutatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1247,16 +1247,16 @@ replace the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1267,12 +1267,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1alpha1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding -body = kubernetes_asyncio.client.V1alpha1MutatingAdmissionPolicyBinding() # V1alpha1MutatingAdmissionPolicyBinding | +body = kubernetes.aio.client.V1alpha1MutatingAdmissionPolicyBinding() # V1alpha1MutatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/aio/docs/AdmissionregistrationV1beta1Api.md similarity index 82% rename from kubernetes_asyncio/docs/AdmissionregistrationV1beta1Api.md rename to kubernetes/aio/docs/AdmissionregistrationV1beta1Api.md index 09a6929f36..e0e09575a9 100644 --- a/kubernetes_asyncio/docs/AdmissionregistrationV1beta1Api.md +++ b/kubernetes/aio/docs/AdmissionregistrationV1beta1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AdmissionregistrationV1beta1Api +# kubernetes.aio.client.AdmissionregistrationV1beta1Api All URIs are relative to *http://localhost* @@ -34,16 +34,16 @@ create a MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -54,11 +54,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1MutatingAdmissionPolicy() # V1beta1MutatingAdmissionPolicy | + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1MutatingAdmissionPolicy() # V1beta1MutatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -117,16 +117,16 @@ create a MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -137,11 +137,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1MutatingAdmissionPolicyBinding() # V1beta1MutatingAdmissionPolicyBinding | + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1MutatingAdmissionPolicyBinding() # V1beta1MutatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -200,16 +200,16 @@ delete collection of MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -220,18 +220,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -239,7 +239,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_mutating_admission_policy(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -253,13 +253,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -303,16 +303,16 @@ delete collection of MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -323,18 +323,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -342,7 +342,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_mutating_admission_policy_binding(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -356,13 +356,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -406,16 +406,16 @@ delete a MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -426,10 +426,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -437,7 +437,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -494,16 +494,16 @@ delete a MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -514,10 +514,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -525,7 +525,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -582,16 +582,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -602,10 +602,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -651,16 +651,16 @@ list or watch objects of kind MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -671,16 +671,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -701,10 +701,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -746,16 +746,16 @@ list or watch objects of kind MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -766,16 +766,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -796,10 +796,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -841,16 +841,16 @@ partially update the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -861,10 +861,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -927,16 +927,16 @@ partially update the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -947,10 +947,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1013,16 +1013,16 @@ read the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1033,10 +1033,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1088,16 +1088,16 @@ read the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1108,10 +1108,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1163,16 +1163,16 @@ replace the specified MutatingAdmissionPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1183,12 +1183,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicy -body = kubernetes_asyncio.client.V1beta1MutatingAdmissionPolicy() # V1beta1MutatingAdmissionPolicy | +body = kubernetes.aio.client.V1beta1MutatingAdmissionPolicy() # V1beta1MutatingAdmissionPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1247,16 +1247,16 @@ replace the specified MutatingAdmissionPolicyBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1267,12 +1267,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AdmissionregistrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.AdmissionregistrationV1beta1Api(api_client) name = 'name_example' # str | name of the MutatingAdmissionPolicyBinding -body = kubernetes_asyncio.client.V1beta1MutatingAdmissionPolicyBinding() # V1beta1MutatingAdmissionPolicyBinding | +body = kubernetes.aio.client.V1beta1MutatingAdmissionPolicyBinding() # V1beta1MutatingAdmissionPolicyBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/ApiextensionsApi.md b/kubernetes/aio/docs/ApiextensionsApi.md similarity index 79% rename from kubernetes_asyncio/docs/ApiextensionsApi.md rename to kubernetes/aio/docs/ApiextensionsApi.md index 9679c88ca5..2cea1d66cc 100644 --- a/kubernetes_asyncio/docs/ApiextensionsApi.md +++ b/kubernetes/aio/docs/ApiextensionsApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ApiextensionsApi +# kubernetes.aio.client.ApiextensionsApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsApi(api_client) + api_instance = kubernetes.aio.client.ApiextensionsApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/ApiextensionsV1Api.md b/kubernetes/aio/docs/ApiextensionsV1Api.md similarity index 84% rename from kubernetes_asyncio/docs/ApiextensionsV1Api.md rename to kubernetes/aio/docs/ApiextensionsV1Api.md index bbcc70b4f4..6af03dc08e 100644 --- a/kubernetes_asyncio/docs/ApiextensionsV1Api.md +++ b/kubernetes/aio/docs/ApiextensionsV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ApiextensionsV1Api +# kubernetes.aio.client.ApiextensionsV1Api All URIs are relative to *http://localhost* @@ -30,16 +30,16 @@ create a CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -50,11 +50,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) - body = kubernetes_asyncio.client.V1CustomResourceDefinition() # V1CustomResourceDefinition | + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) + body = kubernetes.aio.client.V1CustomResourceDefinition() # V1CustomResourceDefinition | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,18 +133,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -152,7 +152,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_custom_resource_definition(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -166,13 +166,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -216,16 +216,16 @@ delete a CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -236,10 +236,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) name = 'name_example' # str | name of the CustomResourceDefinition pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -247,7 +247,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_custom_resource_definition(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -304,16 +304,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -324,10 +324,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -373,16 +373,16 @@ list or watch objects of kind CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -393,16 +393,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -423,10 +423,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -468,16 +468,16 @@ partially update the specified CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -488,10 +488,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) name = 'name_example' # str | name of the CustomResourceDefinition body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -554,16 +554,16 @@ partially update status of the specified CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -574,10 +574,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) name = 'name_example' # str | name of the CustomResourceDefinition body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -640,16 +640,16 @@ read the specified CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -660,10 +660,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) name = 'name_example' # str | name of the CustomResourceDefinition pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -715,16 +715,16 @@ read status of the specified CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -735,10 +735,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) name = 'name_example' # str | name of the CustomResourceDefinition pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -790,16 +790,16 @@ replace the specified CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -810,12 +810,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) name = 'name_example' # str | name of the CustomResourceDefinition -body = kubernetes_asyncio.client.V1CustomResourceDefinition() # V1CustomResourceDefinition | +body = kubernetes.aio.client.V1CustomResourceDefinition() # V1CustomResourceDefinition | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -874,16 +874,16 @@ replace status of the specified CustomResourceDefinition ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -894,12 +894,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiextensionsV1Api(api_client) + api_instance = kubernetes.aio.client.ApiextensionsV1Api(api_client) name = 'name_example' # str | name of the CustomResourceDefinition -body = kubernetes_asyncio.client.V1CustomResourceDefinition() # V1CustomResourceDefinition | +body = kubernetes.aio.client.V1CustomResourceDefinition() # V1CustomResourceDefinition | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/ApiextensionsV1ServiceReference.md b/kubernetes/aio/docs/ApiextensionsV1ServiceReference.md similarity index 100% rename from kubernetes_asyncio/docs/ApiextensionsV1ServiceReference.md rename to kubernetes/aio/docs/ApiextensionsV1ServiceReference.md diff --git a/kubernetes_asyncio/docs/ApiextensionsV1WebhookClientConfig.md b/kubernetes/aio/docs/ApiextensionsV1WebhookClientConfig.md similarity index 100% rename from kubernetes_asyncio/docs/ApiextensionsV1WebhookClientConfig.md rename to kubernetes/aio/docs/ApiextensionsV1WebhookClientConfig.md diff --git a/kubernetes_asyncio/docs/ApiregistrationApi.md b/kubernetes/aio/docs/ApiregistrationApi.md similarity index 79% rename from kubernetes_asyncio/docs/ApiregistrationApi.md rename to kubernetes/aio/docs/ApiregistrationApi.md index 21c51646e3..372b37679a 100644 --- a/kubernetes_asyncio/docs/ApiregistrationApi.md +++ b/kubernetes/aio/docs/ApiregistrationApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ApiregistrationApi +# kubernetes.aio.client.ApiregistrationApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationApi(api_client) + api_instance = kubernetes.aio.client.ApiregistrationApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/ApiregistrationV1Api.md b/kubernetes/aio/docs/ApiregistrationV1Api.md similarity index 84% rename from kubernetes_asyncio/docs/ApiregistrationV1Api.md rename to kubernetes/aio/docs/ApiregistrationV1Api.md index e5f9397265..256b0cb864 100644 --- a/kubernetes_asyncio/docs/ApiregistrationV1Api.md +++ b/kubernetes/aio/docs/ApiregistrationV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ApiregistrationV1Api +# kubernetes.aio.client.ApiregistrationV1Api All URIs are relative to *http://localhost* @@ -30,16 +30,16 @@ create an APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -50,11 +50,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) - body = kubernetes_asyncio.client.V1APIService() # V1APIService | + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) + body = kubernetes.aio.client.V1APIService() # V1APIService | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete an APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,10 +133,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) name = 'name_example' # str | name of the APIService pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -144,7 +144,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_api_service(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -201,16 +201,16 @@ delete collection of APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -221,18 +221,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -240,7 +240,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_api_service(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -254,13 +254,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -304,16 +304,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -324,10 +324,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -373,16 +373,16 @@ list or watch objects of kind APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -393,16 +393,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -423,10 +423,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -468,16 +468,16 @@ partially update the specified APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -488,10 +488,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) name = 'name_example' # str | name of the APIService body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -554,16 +554,16 @@ partially update status of the specified APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -574,10 +574,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) name = 'name_example' # str | name of the APIService body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -640,16 +640,16 @@ read the specified APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -660,10 +660,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) name = 'name_example' # str | name of the APIService pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -715,16 +715,16 @@ read status of the specified APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -735,10 +735,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) name = 'name_example' # str | name of the APIService pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -790,16 +790,16 @@ replace the specified APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -810,12 +810,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) name = 'name_example' # str | name of the APIService -body = kubernetes_asyncio.client.V1APIService() # V1APIService | +body = kubernetes.aio.client.V1APIService() # V1APIService | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -874,16 +874,16 @@ replace status of the specified APIService ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -894,12 +894,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApiregistrationV1Api(api_client) + api_instance = kubernetes.aio.client.ApiregistrationV1Api(api_client) name = 'name_example' # str | name of the APIService -body = kubernetes_asyncio.client.V1APIService() # V1APIService | +body = kubernetes.aio.client.V1APIService() # V1APIService | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/ApiregistrationV1ServiceReference.md b/kubernetes/aio/docs/ApiregistrationV1ServiceReference.md similarity index 100% rename from kubernetes_asyncio/docs/ApiregistrationV1ServiceReference.md rename to kubernetes/aio/docs/ApiregistrationV1ServiceReference.md diff --git a/kubernetes_asyncio/docs/ApisApi.md b/kubernetes/aio/docs/ApisApi.md similarity index 79% rename from kubernetes_asyncio/docs/ApisApi.md rename to kubernetes/aio/docs/ApisApi.md index aae08c4f9e..d5243ead65 100644 --- a/kubernetes_asyncio/docs/ApisApi.md +++ b/kubernetes/aio/docs/ApisApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ApisApi +# kubernetes.aio.client.ApisApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get available API versions ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ApisApi(api_client) + api_instance = kubernetes.aio.client.ApisApi(api_client) try: api_response = api_instance.get_api_versions() diff --git a/kubernetes_asyncio/docs/AppsApi.md b/kubernetes/aio/docs/AppsApi.md similarity index 79% rename from kubernetes_asyncio/docs/AppsApi.md rename to kubernetes/aio/docs/AppsApi.md index 4d4976c720..9e1d745242 100644 --- a/kubernetes_asyncio/docs/AppsApi.md +++ b/kubernetes/aio/docs/AppsApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AppsApi +# kubernetes.aio.client.AppsApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsApi(api_client) + api_instance = kubernetes.aio.client.AppsApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/AppsV1Api.md b/kubernetes/aio/docs/AppsV1Api.md similarity index 83% rename from kubernetes_asyncio/docs/AppsV1Api.md rename to kubernetes/aio/docs/AppsV1Api.md index 94eb9a9490..a4e4238d7f 100644 --- a/kubernetes_asyncio/docs/AppsV1Api.md +++ b/kubernetes/aio/docs/AppsV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AppsV1Api +# kubernetes.aio.client.AppsV1Api All URIs are relative to *http://localhost* @@ -81,16 +81,16 @@ create a ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -101,12 +101,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ControllerRevision() # V1ControllerRevision | +body = kubernetes.aio.client.V1ControllerRevision() # V1ControllerRevision | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -166,16 +166,16 @@ create a DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -186,12 +186,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1DaemonSet() # V1DaemonSet | +body = kubernetes.aio.client.V1DaemonSet() # V1DaemonSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -251,16 +251,16 @@ create a Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -271,12 +271,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Deployment() # V1Deployment | +body = kubernetes.aio.client.V1Deployment() # V1Deployment | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -336,16 +336,16 @@ create a ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -356,12 +356,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ReplicaSet() # V1ReplicaSet | +body = kubernetes.aio.client.V1ReplicaSet() # V1ReplicaSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -421,16 +421,16 @@ create a StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -441,12 +441,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1StatefulSet() # V1StatefulSet | +body = kubernetes.aio.client.V1StatefulSet() # V1StatefulSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -506,16 +506,16 @@ delete collection of ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -526,19 +526,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -546,7 +546,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_controller_revision(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -561,13 +561,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -611,16 +611,16 @@ delete collection of DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -631,19 +631,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -651,7 +651,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_daemon_set(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -666,13 +666,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -716,16 +716,16 @@ delete collection of Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -736,19 +736,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -756,7 +756,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_deployment(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -771,13 +771,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -821,16 +821,16 @@ delete collection of ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -841,19 +841,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -861,7 +861,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_replica_set(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -876,13 +876,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -926,16 +926,16 @@ delete collection of StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -946,19 +946,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -966,7 +966,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_stateful_set(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -981,13 +981,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1031,16 +1031,16 @@ delete a ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1051,10 +1051,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ControllerRevision namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1063,7 +1063,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_controller_revision(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1121,16 +1121,16 @@ delete a DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1141,10 +1141,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1153,7 +1153,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_daemon_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1211,16 +1211,16 @@ delete a Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1231,10 +1231,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1243,7 +1243,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_deployment(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1301,16 +1301,16 @@ delete a ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1321,10 +1321,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1333,7 +1333,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_replica_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1391,16 +1391,16 @@ delete a StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1411,10 +1411,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1423,7 +1423,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_stateful_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1481,16 +1481,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1501,10 +1501,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1550,16 +1550,16 @@ list or watch objects of kind ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1570,15 +1570,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1599,10 +1599,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1645,16 +1645,16 @@ list or watch objects of kind DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1665,15 +1665,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1694,10 +1694,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1740,16 +1740,16 @@ list or watch objects of kind Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1760,15 +1760,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1789,10 +1789,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1835,16 +1835,16 @@ list or watch objects of kind ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1855,17 +1855,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1887,10 +1887,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1932,16 +1932,16 @@ list or watch objects of kind DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1952,17 +1952,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1984,10 +1984,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2029,16 +2029,16 @@ list or watch objects of kind Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2049,17 +2049,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2081,10 +2081,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2126,16 +2126,16 @@ list or watch objects of kind ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2146,17 +2146,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2178,10 +2178,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2223,16 +2223,16 @@ list or watch objects of kind StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2243,17 +2243,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2275,10 +2275,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2320,16 +2320,16 @@ list or watch objects of kind ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2340,15 +2340,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -2369,10 +2369,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -2415,16 +2415,16 @@ list or watch objects of kind StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2435,15 +2435,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -2464,10 +2464,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -2510,16 +2510,16 @@ partially update the specified ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2530,10 +2530,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ControllerRevision namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2598,16 +2598,16 @@ partially update the specified DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2618,10 +2618,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2686,16 +2686,16 @@ partially update status of the specified DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2706,10 +2706,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2774,16 +2774,16 @@ partially update the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2794,10 +2794,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2862,16 +2862,16 @@ partially update scale of the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2882,10 +2882,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2950,16 +2950,16 @@ partially update status of the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2970,10 +2970,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3038,16 +3038,16 @@ partially update the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3058,10 +3058,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3126,16 +3126,16 @@ partially update scale of the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3146,10 +3146,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3214,16 +3214,16 @@ partially update status of the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3234,10 +3234,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3302,16 +3302,16 @@ partially update the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3322,10 +3322,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3390,16 +3390,16 @@ partially update scale of the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3410,10 +3410,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3478,16 +3478,16 @@ partially update status of the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3498,10 +3498,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3566,16 +3566,16 @@ read the specified ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3586,10 +3586,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ControllerRevision namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3643,16 +3643,16 @@ read the specified DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3663,10 +3663,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3720,16 +3720,16 @@ read status of the specified DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3740,10 +3740,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3797,16 +3797,16 @@ read the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3817,10 +3817,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3874,16 +3874,16 @@ read scale of the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3894,10 +3894,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3951,16 +3951,16 @@ read status of the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3971,10 +3971,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -4028,16 +4028,16 @@ read the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4048,10 +4048,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -4105,16 +4105,16 @@ read scale of the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4125,10 +4125,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -4182,16 +4182,16 @@ read status of the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4202,10 +4202,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -4259,16 +4259,16 @@ read the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4279,10 +4279,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -4336,16 +4336,16 @@ read scale of the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4356,10 +4356,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -4413,16 +4413,16 @@ read status of the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4433,10 +4433,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -4490,16 +4490,16 @@ replace the specified ControllerRevision ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4510,13 +4510,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ControllerRevision namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ControllerRevision() # V1ControllerRevision | +body = kubernetes.aio.client.V1ControllerRevision() # V1ControllerRevision | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4576,16 +4576,16 @@ replace the specified DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4596,13 +4596,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1DaemonSet() # V1DaemonSet | +body = kubernetes.aio.client.V1DaemonSet() # V1DaemonSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4662,16 +4662,16 @@ replace status of the specified DaemonSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4682,13 +4682,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1DaemonSet() # V1DaemonSet | +body = kubernetes.aio.client.V1DaemonSet() # V1DaemonSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4748,16 +4748,16 @@ replace the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4768,13 +4768,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Deployment() # V1Deployment | +body = kubernetes.aio.client.V1Deployment() # V1Deployment | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4834,16 +4834,16 @@ replace scale of the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4854,13 +4854,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Scale() # V1Scale | +body = kubernetes.aio.client.V1Scale() # V1Scale | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4920,16 +4920,16 @@ replace status of the specified Deployment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4940,13 +4940,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Deployment() # V1Deployment | +body = kubernetes.aio.client.V1Deployment() # V1Deployment | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5006,16 +5006,16 @@ replace the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5026,13 +5026,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ReplicaSet() # V1ReplicaSet | +body = kubernetes.aio.client.V1ReplicaSet() # V1ReplicaSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5092,16 +5092,16 @@ replace scale of the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5112,13 +5112,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Scale() # V1Scale | +body = kubernetes.aio.client.V1Scale() # V1Scale | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5178,16 +5178,16 @@ replace status of the specified ReplicaSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5198,13 +5198,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ReplicaSet() # V1ReplicaSet | +body = kubernetes.aio.client.V1ReplicaSet() # V1ReplicaSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5264,16 +5264,16 @@ replace the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5284,13 +5284,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1StatefulSet() # V1StatefulSet | +body = kubernetes.aio.client.V1StatefulSet() # V1StatefulSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5350,16 +5350,16 @@ replace scale of the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5370,13 +5370,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Scale() # V1Scale | +body = kubernetes.aio.client.V1Scale() # V1Scale | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5436,16 +5436,16 @@ replace status of the specified StatefulSet ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5456,13 +5456,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AppsV1Api(api_client) + api_instance = kubernetes.aio.client.AppsV1Api(api_client) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1StatefulSet() # V1StatefulSet | +body = kubernetes.aio.client.V1StatefulSet() # V1StatefulSet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/AuthenticationApi.md b/kubernetes/aio/docs/AuthenticationApi.md similarity index 79% rename from kubernetes_asyncio/docs/AuthenticationApi.md rename to kubernetes/aio/docs/AuthenticationApi.md index f94b259a90..5109921bef 100644 --- a/kubernetes_asyncio/docs/AuthenticationApi.md +++ b/kubernetes/aio/docs/AuthenticationApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AuthenticationApi +# kubernetes.aio.client.AuthenticationApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthenticationApi(api_client) + api_instance = kubernetes.aio.client.AuthenticationApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/AuthenticationV1Api.md b/kubernetes/aio/docs/AuthenticationV1Api.md similarity index 89% rename from kubernetes_asyncio/docs/AuthenticationV1Api.md rename to kubernetes/aio/docs/AuthenticationV1Api.md index bd93c98406..46aff0efbc 100644 --- a/kubernetes_asyncio/docs/AuthenticationV1Api.md +++ b/kubernetes/aio/docs/AuthenticationV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AuthenticationV1Api +# kubernetes.aio.client.AuthenticationV1Api All URIs are relative to *http://localhost* @@ -22,16 +22,16 @@ create a SelfSubjectReview ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -42,11 +42,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthenticationV1Api(api_client) - body = kubernetes_asyncio.client.V1SelfSubjectReview() # V1SelfSubjectReview | + api_instance = kubernetes.aio.client.AuthenticationV1Api(api_client) + body = kubernetes.aio.client.V1SelfSubjectReview() # V1SelfSubjectReview | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -105,16 +105,16 @@ create a TokenReview ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -125,11 +125,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthenticationV1Api(api_client) - body = kubernetes_asyncio.client.V1TokenReview() # V1TokenReview | + api_instance = kubernetes.aio.client.AuthenticationV1Api(api_client) + body = kubernetes.aio.client.V1TokenReview() # V1TokenReview | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -188,16 +188,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -208,10 +208,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthenticationV1Api(api_client) + api_instance = kubernetes.aio.client.AuthenticationV1Api(api_client) try: api_response = api_instance.get_api_resources() diff --git a/kubernetes_asyncio/docs/AuthenticationV1TokenRequest.md b/kubernetes/aio/docs/AuthenticationV1TokenRequest.md similarity index 82% rename from kubernetes_asyncio/docs/AuthenticationV1TokenRequest.md rename to kubernetes/aio/docs/AuthenticationV1TokenRequest.md index 44aab910bf..cc0869221f 100644 --- a/kubernetes_asyncio/docs/AuthenticationV1TokenRequest.md +++ b/kubernetes/aio/docs/AuthenticationV1TokenRequest.md @@ -6,7 +6,7 @@ TokenRequest requests a token for a given service account. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1TokenRequestSpec**](V1TokenRequestSpec.md) | | [optional] **status** | [**V1TokenRequestStatus**](V1TokenRequestStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/AuthorizationApi.md b/kubernetes/aio/docs/AuthorizationApi.md similarity index 79% rename from kubernetes_asyncio/docs/AuthorizationApi.md rename to kubernetes/aio/docs/AuthorizationApi.md index d1b93cf207..aeb081c037 100644 --- a/kubernetes_asyncio/docs/AuthorizationApi.md +++ b/kubernetes/aio/docs/AuthorizationApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AuthorizationApi +# kubernetes.aio.client.AuthorizationApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthorizationApi(api_client) + api_instance = kubernetes.aio.client.AuthorizationApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/AuthorizationV1Api.md b/kubernetes/aio/docs/AuthorizationV1Api.md similarity index 90% rename from kubernetes_asyncio/docs/AuthorizationV1Api.md rename to kubernetes/aio/docs/AuthorizationV1Api.md index 7dfad8efb7..2cd5d8ec11 100644 --- a/kubernetes_asyncio/docs/AuthorizationV1Api.md +++ b/kubernetes/aio/docs/AuthorizationV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AuthorizationV1Api +# kubernetes.aio.client.AuthorizationV1Api All URIs are relative to *http://localhost* @@ -24,16 +24,16 @@ create a LocalSubjectAccessReview ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -44,12 +44,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.AuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | +body = kubernetes.aio.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -109,16 +109,16 @@ create a SelfSubjectAccessReview ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -129,11 +129,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthorizationV1Api(api_client) - body = kubernetes_asyncio.client.V1SelfSubjectAccessReview() # V1SelfSubjectAccessReview | + api_instance = kubernetes.aio.client.AuthorizationV1Api(api_client) + body = kubernetes.aio.client.V1SelfSubjectAccessReview() # V1SelfSubjectAccessReview | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -192,16 +192,16 @@ create a SelfSubjectRulesReview ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -212,11 +212,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthorizationV1Api(api_client) - body = kubernetes_asyncio.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | + api_instance = kubernetes.aio.client.AuthorizationV1Api(api_client) + body = kubernetes.aio.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -275,16 +275,16 @@ create a SubjectAccessReview ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -295,11 +295,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthorizationV1Api(api_client) - body = kubernetes_asyncio.client.V1SubjectAccessReview() # V1SubjectAccessReview | + api_instance = kubernetes.aio.client.AuthorizationV1Api(api_client) + body = kubernetes.aio.client.V1SubjectAccessReview() # V1SubjectAccessReview | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -358,16 +358,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -378,10 +378,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.AuthorizationV1Api(api_client) try: api_response = api_instance.get_api_resources() diff --git a/kubernetes_asyncio/docs/AutoscalingApi.md b/kubernetes/aio/docs/AutoscalingApi.md similarity index 79% rename from kubernetes_asyncio/docs/AutoscalingApi.md rename to kubernetes/aio/docs/AutoscalingApi.md index 4d1eb2058b..dc5354229c 100644 --- a/kubernetes_asyncio/docs/AutoscalingApi.md +++ b/kubernetes/aio/docs/AutoscalingApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AutoscalingApi +# kubernetes.aio.client.AutoscalingApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingApi(api_client) + api_instance = kubernetes.aio.client.AutoscalingApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/AutoscalingV1Api.md b/kubernetes/aio/docs/AutoscalingV1Api.md similarity index 83% rename from kubernetes_asyncio/docs/AutoscalingV1Api.md rename to kubernetes/aio/docs/AutoscalingV1Api.md index a1fd7fda67..b6191b3084 100644 --- a/kubernetes_asyncio/docs/AutoscalingV1Api.md +++ b/kubernetes/aio/docs/AutoscalingV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AutoscalingV1Api +# kubernetes.aio.client.AutoscalingV1Api All URIs are relative to *http://localhost* @@ -31,16 +31,16 @@ create a HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -51,12 +51,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | +body = kubernetes.aio.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -116,16 +116,16 @@ delete collection of HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -136,19 +136,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -156,7 +156,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -171,13 +171,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -221,16 +221,16 @@ delete a HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -241,10 +241,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -253,7 +253,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -311,16 +311,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -331,10 +331,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -380,16 +380,16 @@ list or watch objects of kind HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -400,15 +400,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -429,10 +429,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -475,16 +475,16 @@ list or watch objects of kind HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -495,17 +495,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -527,10 +527,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -572,16 +572,16 @@ partially update the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -592,10 +592,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -660,16 +660,16 @@ partially update status of the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -680,10 +680,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -748,16 +748,16 @@ read the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -768,10 +768,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -825,16 +825,16 @@ read status of the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -845,10 +845,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -902,16 +902,16 @@ replace the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -922,13 +922,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | +body = kubernetes.aio.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -988,16 +988,16 @@ replace status of the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1008,13 +1008,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV1Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV1Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | +body = kubernetes.aio.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/AutoscalingV2Api.md b/kubernetes/aio/docs/AutoscalingV2Api.md similarity index 83% rename from kubernetes_asyncio/docs/AutoscalingV2Api.md rename to kubernetes/aio/docs/AutoscalingV2Api.md index 5daddf7859..e69e4c5d3a 100644 --- a/kubernetes_asyncio/docs/AutoscalingV2Api.md +++ b/kubernetes/aio/docs/AutoscalingV2Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.AutoscalingV2Api +# kubernetes.aio.client.AutoscalingV2Api All URIs are relative to *http://localhost* @@ -31,16 +31,16 @@ create a HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -51,12 +51,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V2HorizontalPodAutoscaler() # V2HorizontalPodAutoscaler | +body = kubernetes.aio.client.V2HorizontalPodAutoscaler() # V2HorizontalPodAutoscaler | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -116,16 +116,16 @@ delete collection of HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -136,19 +136,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -156,7 +156,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -171,13 +171,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -221,16 +221,16 @@ delete a HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -241,10 +241,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -253,7 +253,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -311,16 +311,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -331,10 +331,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) try: api_response = api_instance.get_api_resources() @@ -380,16 +380,16 @@ list or watch objects of kind HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -400,15 +400,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -429,10 +429,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -475,16 +475,16 @@ list or watch objects of kind HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -495,17 +495,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -527,10 +527,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -572,16 +572,16 @@ partially update the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -592,10 +592,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -660,16 +660,16 @@ partially update status of the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -680,10 +680,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -748,16 +748,16 @@ read the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -768,10 +768,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -825,16 +825,16 @@ read status of the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -845,10 +845,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -902,16 +902,16 @@ replace the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -922,13 +922,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V2HorizontalPodAutoscaler() # V2HorizontalPodAutoscaler | +body = kubernetes.aio.client.V2HorizontalPodAutoscaler() # V2HorizontalPodAutoscaler | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -988,16 +988,16 @@ replace status of the specified HorizontalPodAutoscaler ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1008,13 +1008,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.AutoscalingV2Api(api_client) + api_instance = kubernetes.aio.client.AutoscalingV2Api(api_client) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V2HorizontalPodAutoscaler() # V2HorizontalPodAutoscaler | +body = kubernetes.aio.client.V2HorizontalPodAutoscaler() # V2HorizontalPodAutoscaler | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/BatchApi.md b/kubernetes/aio/docs/BatchApi.md similarity index 79% rename from kubernetes_asyncio/docs/BatchApi.md rename to kubernetes/aio/docs/BatchApi.md index abba448567..54d0ee7f32 100644 --- a/kubernetes_asyncio/docs/BatchApi.md +++ b/kubernetes/aio/docs/BatchApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.BatchApi +# kubernetes.aio.client.BatchApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchApi(api_client) + api_instance = kubernetes.aio.client.BatchApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/BatchV1Api.md b/kubernetes/aio/docs/BatchV1Api.md similarity index 82% rename from kubernetes_asyncio/docs/BatchV1Api.md rename to kubernetes/aio/docs/BatchV1Api.md index cc36642193..5bc75451a4 100644 --- a/kubernetes_asyncio/docs/BatchV1Api.md +++ b/kubernetes/aio/docs/BatchV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.BatchV1Api +# kubernetes.aio.client.BatchV1Api All URIs are relative to *http://localhost* @@ -42,16 +42,16 @@ create a CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -62,12 +62,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1CronJob() # V1CronJob | +body = kubernetes.aio.client.V1CronJob() # V1CronJob | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -127,16 +127,16 @@ create a Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -147,12 +147,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Job() # V1Job | +body = kubernetes.aio.client.V1Job() # V1Job | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -212,16 +212,16 @@ delete collection of CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -232,19 +232,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -252,7 +252,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_cron_job(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -267,13 +267,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -317,16 +317,16 @@ delete collection of Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -337,19 +337,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -357,7 +357,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_job(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -372,13 +372,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -422,16 +422,16 @@ delete a CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -442,10 +442,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -454,7 +454,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_cron_job(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -512,16 +512,16 @@ delete a Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -532,10 +532,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -544,7 +544,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_job(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -602,16 +602,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -622,10 +622,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -671,16 +671,16 @@ list or watch objects of kind CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -691,15 +691,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -720,10 +720,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -766,16 +766,16 @@ list or watch objects of kind Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -786,15 +786,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -815,10 +815,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -861,16 +861,16 @@ list or watch objects of kind CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -881,17 +881,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -913,10 +913,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -958,16 +958,16 @@ list or watch objects of kind Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -978,17 +978,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1010,10 +1010,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1055,16 +1055,16 @@ partially update the specified CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1075,10 +1075,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1143,16 +1143,16 @@ partially update status of the specified CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1163,10 +1163,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1231,16 +1231,16 @@ partially update the specified Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1251,10 +1251,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1319,16 +1319,16 @@ partially update status of the specified Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1339,10 +1339,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1407,16 +1407,16 @@ read the specified CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1427,10 +1427,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1484,16 +1484,16 @@ read status of the specified CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1504,10 +1504,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1561,16 +1561,16 @@ read the specified Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1581,10 +1581,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1638,16 +1638,16 @@ read status of the specified Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1658,10 +1658,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1715,16 +1715,16 @@ replace the specified CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1735,13 +1735,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1CronJob() # V1CronJob | +body = kubernetes.aio.client.V1CronJob() # V1CronJob | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1801,16 +1801,16 @@ replace status of the specified CronJob ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1821,13 +1821,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1CronJob() # V1CronJob | +body = kubernetes.aio.client.V1CronJob() # V1CronJob | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1887,16 +1887,16 @@ replace the specified Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1907,13 +1907,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Job() # V1Job | +body = kubernetes.aio.client.V1Job() # V1Job | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1973,16 +1973,16 @@ replace status of the specified Job ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1993,13 +1993,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.BatchV1Api(api_client) + api_instance = kubernetes.aio.client.BatchV1Api(api_client) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Job() # V1Job | +body = kubernetes.aio.client.V1Job() # V1Job | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CertificatesApi.md b/kubernetes/aio/docs/CertificatesApi.md similarity index 79% rename from kubernetes_asyncio/docs/CertificatesApi.md rename to kubernetes/aio/docs/CertificatesApi.md index e832d2fa29..4eaae9500d 100644 --- a/kubernetes_asyncio/docs/CertificatesApi.md +++ b/kubernetes/aio/docs/CertificatesApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CertificatesApi +# kubernetes.aio.client.CertificatesApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesApi(api_client) + api_instance = kubernetes.aio.client.CertificatesApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/CertificatesV1Api.md b/kubernetes/aio/docs/CertificatesV1Api.md similarity index 85% rename from kubernetes_asyncio/docs/CertificatesV1Api.md rename to kubernetes/aio/docs/CertificatesV1Api.md index cd9c41d7cd..c40932a743 100644 --- a/kubernetes_asyncio/docs/CertificatesV1Api.md +++ b/kubernetes/aio/docs/CertificatesV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CertificatesV1Api +# kubernetes.aio.client.CertificatesV1Api All URIs are relative to *http://localhost* @@ -33,16 +33,16 @@ create a CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -53,11 +53,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) - body = kubernetes_asyncio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) + body = kubernetes.aio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -116,16 +116,16 @@ delete a CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -136,10 +136,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -147,7 +147,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_certificate_signing_request(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -204,16 +204,16 @@ delete collection of CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -224,18 +224,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -243,7 +243,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_certificate_signing_request(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -257,13 +257,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -307,16 +307,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -327,10 +327,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -376,16 +376,16 @@ list or watch objects of kind CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -396,16 +396,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -426,10 +426,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -471,16 +471,16 @@ partially update the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -491,10 +491,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -557,16 +557,16 @@ partially update approval of the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -577,10 +577,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -643,16 +643,16 @@ partially update status of the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -663,10 +663,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -729,16 +729,16 @@ read the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -749,10 +749,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -804,16 +804,16 @@ read approval of the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -824,10 +824,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -879,16 +879,16 @@ read status of the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -899,10 +899,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -954,16 +954,16 @@ replace the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -974,12 +974,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest -body = kubernetes_asyncio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | +body = kubernetes.aio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1038,16 +1038,16 @@ replace approval of the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1058,12 +1058,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest -body = kubernetes_asyncio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | +body = kubernetes.aio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1122,16 +1122,16 @@ replace status of the specified CertificateSigningRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1142,12 +1142,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1Api(api_client) name = 'name_example' # str | name of the CertificateSigningRequest -body = kubernetes_asyncio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | +body = kubernetes.aio.client.V1CertificateSigningRequest() # V1CertificateSigningRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CertificatesV1alpha1Api.md b/kubernetes/aio/docs/CertificatesV1alpha1Api.md similarity index 82% rename from kubernetes_asyncio/docs/CertificatesV1alpha1Api.md rename to kubernetes/aio/docs/CertificatesV1alpha1Api.md index 59607556b1..b64100e389 100644 --- a/kubernetes_asyncio/docs/CertificatesV1alpha1Api.md +++ b/kubernetes/aio/docs/CertificatesV1alpha1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CertificatesV1alpha1Api +# kubernetes.aio.client.CertificatesV1alpha1Api All URIs are relative to *http://localhost* @@ -27,16 +27,16 @@ create a ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -47,11 +47,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) - body = kubernetes_asyncio.client.V1alpha1ClusterTrustBundle() # V1alpha1ClusterTrustBundle | + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) + body = kubernetes.aio.client.V1alpha1ClusterTrustBundle() # V1alpha1ClusterTrustBundle | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -110,16 +110,16 @@ delete a ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -130,10 +130,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -141,7 +141,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_cluster_trust_bundle(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -198,16 +198,16 @@ delete collection of ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -218,18 +218,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -237,7 +237,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_cluster_trust_bundle(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -251,13 +251,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -301,16 +301,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -321,10 +321,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -370,16 +370,16 @@ list or watch objects of kind ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -390,16 +390,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -420,10 +420,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -465,16 +465,16 @@ partially update the specified ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -485,10 +485,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -551,16 +551,16 @@ read the specified ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -571,10 +571,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -626,16 +626,16 @@ replace the specified ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -646,12 +646,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1alpha1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle -body = kubernetes_asyncio.client.V1alpha1ClusterTrustBundle() # V1alpha1ClusterTrustBundle | +body = kubernetes.aio.client.V1alpha1ClusterTrustBundle() # V1alpha1ClusterTrustBundle | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CertificatesV1beta1Api.md b/kubernetes/aio/docs/CertificatesV1beta1Api.md similarity index 83% rename from kubernetes_asyncio/docs/CertificatesV1beta1Api.md rename to kubernetes/aio/docs/CertificatesV1beta1Api.md index f045334fca..81b1a1dabd 100644 --- a/kubernetes_asyncio/docs/CertificatesV1beta1Api.md +++ b/kubernetes/aio/docs/CertificatesV1beta1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CertificatesV1beta1Api +# kubernetes.aio.client.CertificatesV1beta1Api All URIs are relative to *http://localhost* @@ -38,16 +38,16 @@ create a ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -58,11 +58,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1ClusterTrustBundle() # V1beta1ClusterTrustBundle | + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1ClusterTrustBundle() # V1beta1ClusterTrustBundle | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -121,16 +121,16 @@ create a PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -141,12 +141,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1PodCertificateRequest() # V1beta1PodCertificateRequest | +body = kubernetes.aio.client.V1beta1PodCertificateRequest() # V1beta1PodCertificateRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -206,16 +206,16 @@ delete a ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -226,10 +226,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -237,7 +237,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_cluster_trust_bundle(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -294,16 +294,16 @@ delete collection of ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -314,18 +314,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -333,7 +333,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_cluster_trust_bundle(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -347,13 +347,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -397,16 +397,16 @@ delete collection of PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -417,19 +417,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -437,7 +437,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_pod_certificate_request(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -452,13 +452,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -502,16 +502,16 @@ delete a PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -522,10 +522,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the PodCertificateRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -534,7 +534,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_pod_certificate_request(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -592,16 +592,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -612,10 +612,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -661,16 +661,16 @@ list or watch objects of kind ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -681,16 +681,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -711,10 +711,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -756,16 +756,16 @@ list or watch objects of kind PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -776,17 +776,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -808,10 +808,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -853,16 +853,16 @@ list or watch objects of kind PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -873,15 +873,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -902,10 +902,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -948,16 +948,16 @@ partially update the specified ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -968,10 +968,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1034,16 +1034,16 @@ partially update the specified PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1054,10 +1054,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the PodCertificateRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1122,16 +1122,16 @@ partially update status of the specified PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1142,10 +1142,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the PodCertificateRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1210,16 +1210,16 @@ read the specified ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1230,10 +1230,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1285,16 +1285,16 @@ read the specified PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1305,10 +1305,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the PodCertificateRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1362,16 +1362,16 @@ read status of the specified PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1382,10 +1382,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the PodCertificateRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1439,16 +1439,16 @@ replace the specified ClusterTrustBundle ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1459,12 +1459,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the ClusterTrustBundle -body = kubernetes_asyncio.client.V1beta1ClusterTrustBundle() # V1beta1ClusterTrustBundle | +body = kubernetes.aio.client.V1beta1ClusterTrustBundle() # V1beta1ClusterTrustBundle | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1523,16 +1523,16 @@ replace the specified PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1543,13 +1543,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the PodCertificateRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1PodCertificateRequest() # V1beta1PodCertificateRequest | +body = kubernetes.aio.client.V1beta1PodCertificateRequest() # V1beta1PodCertificateRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1609,16 +1609,16 @@ replace status of the specified PodCertificateRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1629,13 +1629,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CertificatesV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CertificatesV1beta1Api(api_client) name = 'name_example' # str | name of the PodCertificateRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1PodCertificateRequest() # V1beta1PodCertificateRequest | +body = kubernetes.aio.client.V1beta1PodCertificateRequest() # V1beta1PodCertificateRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CoordinationApi.md b/kubernetes/aio/docs/CoordinationApi.md similarity index 79% rename from kubernetes_asyncio/docs/CoordinationApi.md rename to kubernetes/aio/docs/CoordinationApi.md index 54d6c54b06..3134f54108 100644 --- a/kubernetes_asyncio/docs/CoordinationApi.md +++ b/kubernetes/aio/docs/CoordinationApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CoordinationApi +# kubernetes.aio.client.CoordinationApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationApi(api_client) + api_instance = kubernetes.aio.client.CoordinationApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/CoordinationV1Api.md b/kubernetes/aio/docs/CoordinationV1Api.md similarity index 81% rename from kubernetes_asyncio/docs/CoordinationV1Api.md rename to kubernetes/aio/docs/CoordinationV1Api.md index 6249bfc17d..6a0062c2f0 100644 --- a/kubernetes_asyncio/docs/CoordinationV1Api.md +++ b/kubernetes/aio/docs/CoordinationV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CoordinationV1Api +# kubernetes.aio.client.CoordinationV1Api All URIs are relative to *http://localhost* @@ -28,16 +28,16 @@ create a Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -48,12 +48,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Lease() # V1Lease | +body = kubernetes.aio.client.V1Lease() # V1Lease | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,19 +133,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -153,7 +153,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_lease(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -168,13 +168,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -218,16 +218,16 @@ delete a Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -238,10 +238,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) name = 'name_example' # str | name of the Lease namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -250,7 +250,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_lease(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -308,16 +308,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -328,10 +328,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -377,16 +377,16 @@ list or watch objects of kind Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -397,15 +397,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -426,10 +426,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -472,16 +472,16 @@ list or watch objects of kind Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -492,17 +492,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -524,10 +524,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -569,16 +569,16 @@ partially update the specified Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -589,10 +589,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) name = 'name_example' # str | name of the Lease namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -657,16 +657,16 @@ read the specified Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -677,10 +677,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) name = 'name_example' # str | name of the Lease namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -734,16 +734,16 @@ replace the specified Lease ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -754,13 +754,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1Api(api_client) name = 'name_example' # str | name of the Lease namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Lease() # V1Lease | +body = kubernetes.aio.client.V1Lease() # V1Lease | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CoordinationV1alpha2Api.md b/kubernetes/aio/docs/CoordinationV1alpha2Api.md similarity index 81% rename from kubernetes_asyncio/docs/CoordinationV1alpha2Api.md rename to kubernetes/aio/docs/CoordinationV1alpha2Api.md index ab346b641d..fc9798d7a2 100644 --- a/kubernetes_asyncio/docs/CoordinationV1alpha2Api.md +++ b/kubernetes/aio/docs/CoordinationV1alpha2Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CoordinationV1alpha2Api +# kubernetes.aio.client.CoordinationV1alpha2Api All URIs are relative to *http://localhost* @@ -28,16 +28,16 @@ create a LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -48,12 +48,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1alpha2LeaseCandidate() # V1alpha2LeaseCandidate | +body = kubernetes.aio.client.V1alpha2LeaseCandidate() # V1alpha2LeaseCandidate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,19 +133,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -153,7 +153,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_lease_candidate(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -168,13 +168,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -218,16 +218,16 @@ delete a LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -238,10 +238,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -250,7 +250,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_lease_candidate(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -308,16 +308,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -328,10 +328,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) try: api_response = api_instance.get_api_resources() @@ -377,16 +377,16 @@ list or watch objects of kind LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -397,15 +397,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -426,10 +426,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -472,16 +472,16 @@ list or watch objects of kind LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -492,17 +492,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -524,10 +524,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -569,16 +569,16 @@ partially update the specified LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -589,10 +589,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -657,16 +657,16 @@ read the specified LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -677,10 +677,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -734,16 +734,16 @@ replace the specified LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -754,13 +754,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1alpha2Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1alpha2LeaseCandidate() # V1alpha2LeaseCandidate | +body = kubernetes.aio.client.V1alpha2LeaseCandidate() # V1alpha2LeaseCandidate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CoordinationV1beta1Api.md b/kubernetes/aio/docs/CoordinationV1beta1Api.md similarity index 81% rename from kubernetes_asyncio/docs/CoordinationV1beta1Api.md rename to kubernetes/aio/docs/CoordinationV1beta1Api.md index 7008ceddd6..cba6d216a4 100644 --- a/kubernetes_asyncio/docs/CoordinationV1beta1Api.md +++ b/kubernetes/aio/docs/CoordinationV1beta1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CoordinationV1beta1Api +# kubernetes.aio.client.CoordinationV1beta1Api All URIs are relative to *http://localhost* @@ -28,16 +28,16 @@ create a LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -48,12 +48,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1LeaseCandidate() # V1beta1LeaseCandidate | +body = kubernetes.aio.client.V1beta1LeaseCandidate() # V1beta1LeaseCandidate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,19 +133,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -153,7 +153,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_lease_candidate(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -168,13 +168,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -218,16 +218,16 @@ delete a LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -238,10 +238,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -250,7 +250,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_lease_candidate(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -308,16 +308,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -328,10 +328,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -377,16 +377,16 @@ list or watch objects of kind LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -397,15 +397,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -426,10 +426,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -472,16 +472,16 @@ list or watch objects of kind LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -492,17 +492,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -524,10 +524,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -569,16 +569,16 @@ partially update the specified LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -589,10 +589,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -657,16 +657,16 @@ read the specified LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -677,10 +677,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -734,16 +734,16 @@ replace the specified LeaseCandidate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -754,13 +754,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoordinationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.CoordinationV1beta1Api(api_client) name = 'name_example' # str | name of the LeaseCandidate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1LeaseCandidate() # V1beta1LeaseCandidate | +body = kubernetes.aio.client.V1beta1LeaseCandidate() # V1beta1LeaseCandidate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CoreApi.md b/kubernetes/aio/docs/CoreApi.md similarity index 79% rename from kubernetes_asyncio/docs/CoreApi.md rename to kubernetes/aio/docs/CoreApi.md index 979f30bed4..1cc0157f5e 100644 --- a/kubernetes_asyncio/docs/CoreApi.md +++ b/kubernetes/aio/docs/CoreApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CoreApi +# kubernetes.aio.client.CoreApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get available API versions ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreApi(api_client) + api_instance = kubernetes.aio.client.CoreApi(api_client) try: api_response = api_instance.get_api_versions() diff --git a/kubernetes_asyncio/docs/CoreV1Api.md b/kubernetes/aio/docs/CoreV1Api.md similarity index 83% rename from kubernetes_asyncio/docs/CoreV1Api.md rename to kubernetes/aio/docs/CoreV1Api.md index 7f33528e4c..29599f88dc 100644 --- a/kubernetes_asyncio/docs/CoreV1Api.md +++ b/kubernetes/aio/docs/CoreV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CoreV1Api +# kubernetes.aio.client.CoreV1Api All URIs are relative to *http://localhost* @@ -225,16 +225,16 @@ connect DELETE requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -245,10 +245,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) @@ -302,16 +302,16 @@ connect DELETE requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -322,10 +322,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -381,16 +381,16 @@ connect DELETE requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -401,10 +401,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -458,16 +458,16 @@ connect DELETE requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -478,10 +478,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -537,16 +537,16 @@ connect DELETE requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -557,10 +557,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -612,16 +612,16 @@ connect DELETE requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -632,10 +632,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -689,16 +689,16 @@ connect GET requests to attach of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -709,10 +709,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodAttachOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects container = 'container_example' # str | The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) @@ -774,16 +774,16 @@ connect GET requests to exec of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -794,10 +794,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodExecOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects command = 'command_example' # str | Command is the remote command to execute. argv array. Not executed within a shell. (optional) @@ -861,16 +861,16 @@ connect GET requests to portforward of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -881,10 +881,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodPortForwardOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects ports = 56 # int | List of ports to forward Required when using WebSockets (optional) @@ -938,16 +938,16 @@ connect GET requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -958,10 +958,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) @@ -1015,16 +1015,16 @@ connect GET requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1035,10 +1035,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -1094,16 +1094,16 @@ connect GET requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1114,10 +1114,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -1171,16 +1171,16 @@ connect GET requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1191,10 +1191,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -1250,16 +1250,16 @@ connect GET requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1270,10 +1270,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -1325,16 +1325,16 @@ connect GET requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1345,10 +1345,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -1402,16 +1402,16 @@ connect HEAD requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1422,10 +1422,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) @@ -1479,16 +1479,16 @@ connect HEAD requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1499,10 +1499,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -1558,16 +1558,16 @@ connect HEAD requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1578,10 +1578,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -1635,16 +1635,16 @@ connect HEAD requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1655,10 +1655,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -1714,16 +1714,16 @@ connect HEAD requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1734,10 +1734,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -1789,16 +1789,16 @@ connect HEAD requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1809,10 +1809,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -1866,16 +1866,16 @@ connect OPTIONS requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1886,10 +1886,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) @@ -1943,16 +1943,16 @@ connect OPTIONS requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1963,10 +1963,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -2022,16 +2022,16 @@ connect OPTIONS requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2042,10 +2042,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -2099,16 +2099,16 @@ connect OPTIONS requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2119,10 +2119,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -2178,16 +2178,16 @@ connect OPTIONS requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2198,10 +2198,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -2253,16 +2253,16 @@ connect OPTIONS requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2273,10 +2273,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -2330,16 +2330,16 @@ connect PATCH requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2350,10 +2350,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) @@ -2407,16 +2407,16 @@ connect PATCH requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2427,10 +2427,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -2486,16 +2486,16 @@ connect PATCH requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2506,10 +2506,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -2563,16 +2563,16 @@ connect PATCH requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2583,10 +2583,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -2642,16 +2642,16 @@ connect PATCH requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2662,10 +2662,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -2717,16 +2717,16 @@ connect PATCH requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2737,10 +2737,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -2794,16 +2794,16 @@ connect POST requests to attach of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2814,10 +2814,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodAttachOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects container = 'container_example' # str | The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) @@ -2879,16 +2879,16 @@ connect POST requests to exec of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2899,10 +2899,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodExecOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects command = 'command_example' # str | Command is the remote command to execute. argv array. Not executed within a shell. (optional) @@ -2966,16 +2966,16 @@ connect POST requests to portforward of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2986,10 +2986,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodPortForwardOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects ports = 56 # int | List of ports to forward Required when using WebSockets (optional) @@ -3043,16 +3043,16 @@ connect POST requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3063,10 +3063,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) @@ -3120,16 +3120,16 @@ connect POST requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3140,10 +3140,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -3199,16 +3199,16 @@ connect POST requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3219,10 +3219,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -3276,16 +3276,16 @@ connect POST requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3296,10 +3296,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -3355,16 +3355,16 @@ connect POST requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3375,10 +3375,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -3430,16 +3430,16 @@ connect POST requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3450,10 +3450,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -3507,16 +3507,16 @@ connect PUT requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3527,10 +3527,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) @@ -3584,16 +3584,16 @@ connect PUT requests to proxy of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3604,10 +3604,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -3663,16 +3663,16 @@ connect PUT requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3683,10 +3683,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -3740,16 +3740,16 @@ connect PUT requests to proxy of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3760,10 +3760,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceProxyOptions namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource @@ -3819,16 +3819,16 @@ connect PUT requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3839,10 +3839,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -3894,16 +3894,16 @@ connect PUT requests to proxy of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3914,10 +3914,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the NodeProxyOptions path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) @@ -3971,16 +3971,16 @@ create a Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3991,11 +3991,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) - body = kubernetes_asyncio.client.V1Namespace() # V1Namespace | + api_instance = kubernetes.aio.client.CoreV1Api(api_client) + body = kubernetes.aio.client.V1Namespace() # V1Namespace | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4054,16 +4054,16 @@ create a Binding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4074,12 +4074,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Binding() # V1Binding | +body = kubernetes.aio.client.V1Binding() # V1Binding | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -4139,16 +4139,16 @@ create a ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4159,12 +4159,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ConfigMap() # V1ConfigMap | +body = kubernetes.aio.client.V1ConfigMap() # V1ConfigMap | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4224,16 +4224,16 @@ create Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4244,12 +4244,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Endpoints() # V1Endpoints | +body = kubernetes.aio.client.V1Endpoints() # V1Endpoints | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4309,16 +4309,16 @@ create an Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4329,12 +4329,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.CoreV1Event() # CoreV1Event | +body = kubernetes.aio.client.CoreV1Event() # CoreV1Event | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4394,16 +4394,16 @@ create a LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4414,12 +4414,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1LimitRange() # V1LimitRange | +body = kubernetes.aio.client.V1LimitRange() # V1LimitRange | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4479,16 +4479,16 @@ create a PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4499,12 +4499,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | +body = kubernetes.aio.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4564,16 +4564,16 @@ create a Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4584,12 +4584,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Pod() # V1Pod | +body = kubernetes.aio.client.V1Pod() # V1Pod | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4649,16 +4649,16 @@ create binding of a Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4669,13 +4669,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Binding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Binding() # V1Binding | +body = kubernetes.aio.client.V1Binding() # V1Binding | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -4736,16 +4736,16 @@ create eviction of a Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4756,13 +4756,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Eviction namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Eviction() # V1Eviction | +body = kubernetes.aio.client.V1Eviction() # V1Eviction | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -4823,16 +4823,16 @@ create a PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4843,12 +4843,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PodTemplate() # V1PodTemplate | +body = kubernetes.aio.client.V1PodTemplate() # V1PodTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4908,16 +4908,16 @@ create a ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4928,12 +4928,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ReplicationController() # V1ReplicationController | +body = kubernetes.aio.client.V1ReplicationController() # V1ReplicationController | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4993,16 +4993,16 @@ create a ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5013,12 +5013,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ResourceQuota() # V1ResourceQuota | +body = kubernetes.aio.client.V1ResourceQuota() # V1ResourceQuota | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5078,16 +5078,16 @@ create a Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5098,12 +5098,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Secret() # V1Secret | +body = kubernetes.aio.client.V1Secret() # V1Secret | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5163,16 +5163,16 @@ create a Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5183,12 +5183,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Service() # V1Service | +body = kubernetes.aio.client.V1Service() # V1Service | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5248,16 +5248,16 @@ create a ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5268,12 +5268,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ServiceAccount() # V1ServiceAccount | +body = kubernetes.aio.client.V1ServiceAccount() # V1ServiceAccount | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5333,16 +5333,16 @@ create token of a ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5353,13 +5353,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the TokenRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.AuthenticationV1TokenRequest() # AuthenticationV1TokenRequest | +body = kubernetes.aio.client.AuthenticationV1TokenRequest() # AuthenticationV1TokenRequest | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -5420,16 +5420,16 @@ create a Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5440,11 +5440,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) - body = kubernetes_asyncio.client.V1Node() # V1Node | + api_instance = kubernetes.aio.client.CoreV1Api(api_client) + body = kubernetes.aio.client.V1Node() # V1Node | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5503,16 +5503,16 @@ create a PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5523,11 +5523,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) - body = kubernetes_asyncio.client.V1PersistentVolume() # V1PersistentVolume | + api_instance = kubernetes.aio.client.CoreV1Api(api_client) + body = kubernetes.aio.client.V1PersistentVolume() # V1PersistentVolume | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -5586,16 +5586,16 @@ delete collection of ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5606,19 +5606,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -5626,7 +5626,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_config_map(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -5641,13 +5641,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -5691,16 +5691,16 @@ delete collection of Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5711,19 +5711,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -5731,7 +5731,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_endpoints(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -5746,13 +5746,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -5796,16 +5796,16 @@ delete collection of Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5816,19 +5816,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -5836,7 +5836,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_event(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -5851,13 +5851,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -5901,16 +5901,16 @@ delete collection of LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -5921,19 +5921,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -5941,7 +5941,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_limit_range(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -5956,13 +5956,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6006,16 +6006,16 @@ delete collection of PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6026,19 +6026,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6046,7 +6046,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_persistent_volume_claim(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6061,13 +6061,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6111,16 +6111,16 @@ delete collection of Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6131,19 +6131,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6151,7 +6151,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_pod(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6166,13 +6166,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6216,16 +6216,16 @@ delete collection of PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6236,19 +6236,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6256,7 +6256,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_pod_template(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6271,13 +6271,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6321,16 +6321,16 @@ delete collection of ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6341,19 +6341,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6361,7 +6361,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_replication_controller(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6376,13 +6376,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6426,16 +6426,16 @@ delete collection of ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6446,19 +6446,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6466,7 +6466,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_resource_quota(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6481,13 +6481,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6531,16 +6531,16 @@ delete collection of Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6551,19 +6551,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6571,7 +6571,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_secret(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6586,13 +6586,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6636,16 +6636,16 @@ delete collection of Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6656,19 +6656,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6676,7 +6676,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_service(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6691,13 +6691,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6741,16 +6741,16 @@ delete collection of ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6761,19 +6761,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6781,7 +6781,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_service_account(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6796,13 +6796,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6846,16 +6846,16 @@ delete collection of Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6866,18 +6866,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6885,7 +6885,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_node(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -6899,13 +6899,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -6949,16 +6949,16 @@ delete collection of PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -6969,18 +6969,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -6988,7 +6988,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_persistent_volume(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -7002,13 +7002,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -7052,16 +7052,16 @@ delete a Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7072,10 +7072,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -7083,7 +7083,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespace(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7140,16 +7140,16 @@ delete a ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7160,10 +7160,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ConfigMap namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7172,7 +7172,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_config_map(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7230,16 +7230,16 @@ delete Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7250,10 +7250,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Endpoints namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7262,7 +7262,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_endpoints(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7320,16 +7320,16 @@ delete an Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7340,10 +7340,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7352,7 +7352,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_event(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7410,16 +7410,16 @@ delete a LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7430,10 +7430,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the LimitRange namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7442,7 +7442,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_limit_range(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7500,16 +7500,16 @@ delete a PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7520,10 +7520,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7532,7 +7532,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_persistent_volume_claim(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7590,16 +7590,16 @@ delete a Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7610,10 +7610,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7622,7 +7622,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_pod(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7680,16 +7680,16 @@ delete a PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7700,10 +7700,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7712,7 +7712,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_pod_template(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7770,16 +7770,16 @@ delete a ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7790,10 +7790,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7802,7 +7802,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_replication_controller(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7860,16 +7860,16 @@ delete a ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7880,10 +7880,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7892,7 +7892,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_resource_quota(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -7950,16 +7950,16 @@ delete a Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -7970,10 +7970,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Secret namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -7982,7 +7982,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_secret(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -8040,16 +8040,16 @@ delete a Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8060,10 +8060,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -8072,7 +8072,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_service(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -8130,16 +8130,16 @@ delete a ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8150,10 +8150,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceAccount namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -8162,7 +8162,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_service_account(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -8220,16 +8220,16 @@ delete a Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8240,10 +8240,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Node pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -8251,7 +8251,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_node(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -8308,16 +8308,16 @@ delete a PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8328,10 +8328,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolume pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -8339,7 +8339,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_persistent_volume(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -8396,16 +8396,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8416,10 +8416,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -8465,16 +8465,16 @@ list objects of kind ComponentStatus ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8485,15 +8485,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -8514,10 +8514,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -8560,16 +8560,16 @@ list or watch objects of kind ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8580,15 +8580,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -8609,10 +8609,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -8655,16 +8655,16 @@ list or watch objects of kind Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8675,15 +8675,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -8704,10 +8704,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -8750,16 +8750,16 @@ list or watch objects of kind Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8770,15 +8770,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -8799,10 +8799,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -8845,16 +8845,16 @@ list or watch objects of kind LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8865,15 +8865,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -8894,10 +8894,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -8940,16 +8940,16 @@ list or watch objects of kind Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -8960,16 +8960,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -8990,10 +8990,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9035,16 +9035,16 @@ list or watch objects of kind ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9055,17 +9055,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9087,10 +9087,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9132,16 +9132,16 @@ list or watch objects of kind Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9152,17 +9152,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9184,10 +9184,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9229,16 +9229,16 @@ list or watch objects of kind Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9249,17 +9249,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9281,10 +9281,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9326,16 +9326,16 @@ list or watch objects of kind LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9346,17 +9346,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9378,10 +9378,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9423,16 +9423,16 @@ list or watch objects of kind PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9443,17 +9443,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9475,10 +9475,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9520,16 +9520,16 @@ list or watch objects of kind Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9540,17 +9540,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9572,10 +9572,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9617,16 +9617,16 @@ list or watch objects of kind PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9637,17 +9637,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9669,10 +9669,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9714,16 +9714,16 @@ list or watch objects of kind ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9734,17 +9734,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9766,10 +9766,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9811,16 +9811,16 @@ list or watch objects of kind ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9831,17 +9831,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9863,10 +9863,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -9908,16 +9908,16 @@ list or watch objects of kind Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -9928,17 +9928,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -9960,10 +9960,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -10005,16 +10005,16 @@ list or watch objects of kind Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10025,17 +10025,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -10057,10 +10057,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -10102,16 +10102,16 @@ list or watch objects of kind ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10122,17 +10122,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -10154,10 +10154,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -10199,16 +10199,16 @@ list or watch objects of kind Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10219,16 +10219,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -10249,10 +10249,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -10294,16 +10294,16 @@ list or watch objects of kind PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10314,16 +10314,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -10344,10 +10344,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -10389,16 +10389,16 @@ list or watch objects of kind PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10409,15 +10409,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -10438,10 +10438,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -10484,16 +10484,16 @@ list or watch objects of kind Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10504,15 +10504,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -10533,10 +10533,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -10579,16 +10579,16 @@ list or watch objects of kind PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10599,15 +10599,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -10628,10 +10628,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -10674,16 +10674,16 @@ list or watch objects of kind ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10694,15 +10694,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -10723,10 +10723,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -10769,16 +10769,16 @@ list or watch objects of kind ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10789,15 +10789,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -10818,10 +10818,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -10864,16 +10864,16 @@ list or watch objects of kind Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10884,15 +10884,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -10913,10 +10913,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -10959,16 +10959,16 @@ list or watch objects of kind ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -10979,15 +10979,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -11008,10 +11008,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -11054,16 +11054,16 @@ list or watch objects of kind Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11074,15 +11074,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -11103,10 +11103,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -11149,16 +11149,16 @@ partially update the specified Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11169,10 +11169,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -11235,16 +11235,16 @@ partially update status of the specified Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11255,10 +11255,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -11321,16 +11321,16 @@ partially update the specified ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11341,10 +11341,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ConfigMap namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -11409,16 +11409,16 @@ partially update the specified Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11429,10 +11429,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Endpoints namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -11497,16 +11497,16 @@ partially update the specified Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11517,10 +11517,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -11585,16 +11585,16 @@ partially update the specified LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11605,10 +11605,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the LimitRange namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -11673,16 +11673,16 @@ partially update the specified PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11693,10 +11693,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -11761,16 +11761,16 @@ partially update status of the specified PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11781,10 +11781,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -11849,16 +11849,16 @@ partially update the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11869,10 +11869,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -11937,16 +11937,16 @@ partially update ephemeralcontainers of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -11957,10 +11957,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12025,16 +12025,16 @@ partially update resize of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12045,10 +12045,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12113,16 +12113,16 @@ partially update status of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12133,10 +12133,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12201,16 +12201,16 @@ partially update the specified PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12221,10 +12221,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12289,16 +12289,16 @@ partially update the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12309,10 +12309,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12377,16 +12377,16 @@ partially update scale of the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12397,10 +12397,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12465,16 +12465,16 @@ partially update status of the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12485,10 +12485,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12553,16 +12553,16 @@ partially update the specified ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12573,10 +12573,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12641,16 +12641,16 @@ partially update status of the specified ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12661,10 +12661,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12729,16 +12729,16 @@ partially update the specified Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12749,10 +12749,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Secret namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12817,16 +12817,16 @@ partially update the specified Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12837,10 +12837,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12905,16 +12905,16 @@ partially update the specified ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -12925,10 +12925,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceAccount namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -12993,16 +12993,16 @@ partially update status of the specified Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13013,10 +13013,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -13081,16 +13081,16 @@ partially update the specified Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13101,10 +13101,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Node body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13167,16 +13167,16 @@ partially update status of the specified Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13187,10 +13187,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Node body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13253,16 +13253,16 @@ partially update the specified PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13273,10 +13273,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolume body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13339,16 +13339,16 @@ partially update status of the specified PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13359,10 +13359,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolume body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13425,16 +13425,16 @@ read the specified ComponentStatus ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13445,10 +13445,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ComponentStatus pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13500,16 +13500,16 @@ read the specified Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13520,10 +13520,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13575,16 +13575,16 @@ read status of the specified Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13595,10 +13595,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13650,16 +13650,16 @@ read the specified ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13670,10 +13670,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ConfigMap namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13727,16 +13727,16 @@ read the specified Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13747,10 +13747,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Endpoints namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13804,16 +13804,16 @@ read the specified Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13824,10 +13824,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13881,16 +13881,16 @@ read the specified LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13901,10 +13901,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the LimitRange namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -13958,16 +13958,16 @@ read the specified PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -13978,10 +13978,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14035,16 +14035,16 @@ read status of the specified PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14055,10 +14055,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14112,16 +14112,16 @@ read the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14132,10 +14132,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14189,16 +14189,16 @@ read ephemeralcontainers of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14209,10 +14209,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14266,16 +14266,16 @@ read log of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14286,10 +14286,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects container = 'container_example' # str | The container for which to stream logs. Defaults to only container if there is one container in the pod. (optional) @@ -14299,7 +14299,7 @@ limit_bytes = 56 # int | If set, the number of bytes to read from the server bef pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) previous = True # bool | Return previous terminated container logs. Defaults to false. (optional) since_seconds = 56 # int | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) -stream = 'stream_example' # str | Specify which container log stream to return to the kubernetes_asyncio.client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". (optional) +stream = 'stream_example' # str | Specify which container log stream to return to the kubernetes.aio.client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". (optional) tail_lines = 56 # int | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". (optional) timestamps = True # bool | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) @@ -14323,7 +14323,7 @@ Name | Type | Description | Notes **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **previous** | **bool**| Return previous terminated container logs. Defaults to false. | [optional] **since_seconds** | **int**| A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] - **stream** | **str**| Specify which container log stream to return to the kubernetes_asyncio.client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". | [optional] + **stream** | **str**| Specify which container log stream to return to the kubernetes.aio.client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". | [optional] **tail_lines** | **int**| If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". | [optional] **timestamps** | **bool**| If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] @@ -14361,16 +14361,16 @@ read resize of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14381,10 +14381,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14438,16 +14438,16 @@ read status of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14458,10 +14458,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14515,16 +14515,16 @@ read the specified PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14535,10 +14535,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14592,16 +14592,16 @@ read the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14612,10 +14612,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14669,16 +14669,16 @@ read scale of the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14689,10 +14689,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14746,16 +14746,16 @@ read status of the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14766,10 +14766,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14823,16 +14823,16 @@ read the specified ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14843,10 +14843,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14900,16 +14900,16 @@ read status of the specified ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14920,10 +14920,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -14977,16 +14977,16 @@ read the specified Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -14997,10 +14997,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Secret namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15054,16 +15054,16 @@ read the specified Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15074,10 +15074,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15131,16 +15131,16 @@ read the specified ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15151,10 +15151,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceAccount namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15208,16 +15208,16 @@ read status of the specified Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15228,10 +15228,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15285,16 +15285,16 @@ read the specified Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15305,10 +15305,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Node pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15360,16 +15360,16 @@ read status of the specified Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15380,10 +15380,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Node pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15435,16 +15435,16 @@ read the specified PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15455,10 +15455,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolume pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15510,16 +15510,16 @@ read status of the specified PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15530,10 +15530,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolume pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -15585,16 +15585,16 @@ replace the specified Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15605,12 +15605,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace -body = kubernetes_asyncio.client.V1Namespace() # V1Namespace | +body = kubernetes.aio.client.V1Namespace() # V1Namespace | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -15669,16 +15669,16 @@ replace finalize of the specified Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15689,12 +15689,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace -body = kubernetes_asyncio.client.V1Namespace() # V1Namespace | +body = kubernetes.aio.client.V1Namespace() # V1Namespace | dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) field_validation = 'field_validation_example' # str | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) @@ -15753,16 +15753,16 @@ replace status of the specified Namespace ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15773,12 +15773,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Namespace -body = kubernetes_asyncio.client.V1Namespace() # V1Namespace | +body = kubernetes.aio.client.V1Namespace() # V1Namespace | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -15837,16 +15837,16 @@ replace the specified ConfigMap ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15857,13 +15857,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ConfigMap namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ConfigMap() # V1ConfigMap | +body = kubernetes.aio.client.V1ConfigMap() # V1ConfigMap | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -15923,16 +15923,16 @@ replace the specified Endpoints ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -15943,13 +15943,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Endpoints namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Endpoints() # V1Endpoints | +body = kubernetes.aio.client.V1Endpoints() # V1Endpoints | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16009,16 +16009,16 @@ replace the specified Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16029,13 +16029,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.CoreV1Event() # CoreV1Event | +body = kubernetes.aio.client.CoreV1Event() # CoreV1Event | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16095,16 +16095,16 @@ replace the specified LimitRange ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16115,13 +16115,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the LimitRange namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1LimitRange() # V1LimitRange | +body = kubernetes.aio.client.V1LimitRange() # V1LimitRange | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16181,16 +16181,16 @@ replace the specified PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16201,13 +16201,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | +body = kubernetes.aio.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16267,16 +16267,16 @@ replace status of the specified PersistentVolumeClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16287,13 +16287,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | +body = kubernetes.aio.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16353,16 +16353,16 @@ replace the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16373,13 +16373,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Pod() # V1Pod | +body = kubernetes.aio.client.V1Pod() # V1Pod | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16439,16 +16439,16 @@ replace ephemeralcontainers of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16459,13 +16459,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Pod() # V1Pod | +body = kubernetes.aio.client.V1Pod() # V1Pod | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16525,16 +16525,16 @@ replace resize of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16545,13 +16545,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Pod() # V1Pod | +body = kubernetes.aio.client.V1Pod() # V1Pod | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16611,16 +16611,16 @@ replace status of the specified Pod ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16631,13 +16631,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Pod() # V1Pod | +body = kubernetes.aio.client.V1Pod() # V1Pod | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16697,16 +16697,16 @@ replace the specified PodTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16717,13 +16717,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PodTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PodTemplate() # V1PodTemplate | +body = kubernetes.aio.client.V1PodTemplate() # V1PodTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16783,16 +16783,16 @@ replace the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16803,13 +16803,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ReplicationController() # V1ReplicationController | +body = kubernetes.aio.client.V1ReplicationController() # V1ReplicationController | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16869,16 +16869,16 @@ replace scale of the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16889,13 +16889,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Scale() # V1Scale | +body = kubernetes.aio.client.V1Scale() # V1Scale | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -16955,16 +16955,16 @@ replace status of the specified ReplicationController ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -16975,13 +16975,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ReplicationController() # V1ReplicationController | +body = kubernetes.aio.client.V1ReplicationController() # V1ReplicationController | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17041,16 +17041,16 @@ replace the specified ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17061,13 +17061,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ResourceQuota() # V1ResourceQuota | +body = kubernetes.aio.client.V1ResourceQuota() # V1ResourceQuota | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17127,16 +17127,16 @@ replace status of the specified ResourceQuota ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17147,13 +17147,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ResourceQuota() # V1ResourceQuota | +body = kubernetes.aio.client.V1ResourceQuota() # V1ResourceQuota | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17213,16 +17213,16 @@ replace the specified Secret ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17233,13 +17233,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Secret namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Secret() # V1Secret | +body = kubernetes.aio.client.V1Secret() # V1Secret | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17299,16 +17299,16 @@ replace the specified Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17319,13 +17319,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Service() # V1Service | +body = kubernetes.aio.client.V1Service() # V1Service | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17385,16 +17385,16 @@ replace the specified ServiceAccount ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17405,13 +17405,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the ServiceAccount namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ServiceAccount() # V1ServiceAccount | +body = kubernetes.aio.client.V1ServiceAccount() # V1ServiceAccount | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17471,16 +17471,16 @@ replace status of the specified Service ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17491,13 +17491,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Service() # V1Service | +body = kubernetes.aio.client.V1Service() # V1Service | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17557,16 +17557,16 @@ replace the specified Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17577,12 +17577,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Node -body = kubernetes_asyncio.client.V1Node() # V1Node | +body = kubernetes.aio.client.V1Node() # V1Node | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17641,16 +17641,16 @@ replace status of the specified Node ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17661,12 +17661,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the Node -body = kubernetes_asyncio.client.V1Node() # V1Node | +body = kubernetes.aio.client.V1Node() # V1Node | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17725,16 +17725,16 @@ replace the specified PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17745,12 +17745,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolume -body = kubernetes_asyncio.client.V1PersistentVolume() # V1PersistentVolume | +body = kubernetes.aio.client.V1PersistentVolume() # V1PersistentVolume | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -17809,16 +17809,16 @@ replace status of the specified PersistentVolume ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -17829,12 +17829,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CoreV1Api(api_client) + api_instance = kubernetes.aio.client.CoreV1Api(api_client) name = 'name_example' # str | name of the PersistentVolume -body = kubernetes_asyncio.client.V1PersistentVolume() # V1PersistentVolume | +body = kubernetes.aio.client.V1PersistentVolume() # V1PersistentVolume | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/CoreV1EndpointPort.md b/kubernetes/aio/docs/CoreV1EndpointPort.md similarity index 100% rename from kubernetes_asyncio/docs/CoreV1EndpointPort.md rename to kubernetes/aio/docs/CoreV1EndpointPort.md diff --git a/kubernetes_asyncio/docs/CoreV1Event.md b/kubernetes/aio/docs/CoreV1Event.md similarity index 92% rename from kubernetes_asyncio/docs/CoreV1Event.md rename to kubernetes/aio/docs/CoreV1Event.md index 29a2bb7eb8..b8604059ac 100644 --- a/kubernetes_asyncio/docs/CoreV1Event.md +++ b/kubernetes/aio/docs/CoreV1Event.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **event_time** | **datetime** | Time when this Event was first observed. | [optional] **first_timestamp** | **datetime** | The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) | [optional] **involved_object** | [**V1ObjectReference**](V1ObjectReference.md) | | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **last_timestamp** | **datetime** | The time at which the most recent occurrence of this event was recorded. | [optional] **message** | **str** | A human-readable description of the status of this operation. | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | diff --git a/kubernetes_asyncio/docs/CoreV1EventList.md b/kubernetes/aio/docs/CoreV1EventList.md similarity index 80% rename from kubernetes_asyncio/docs/CoreV1EventList.md rename to kubernetes/aio/docs/CoreV1EventList.md index 86d4974b68..669b6f1a46 100644 --- a/kubernetes_asyncio/docs/CoreV1EventList.md +++ b/kubernetes/aio/docs/CoreV1EventList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[CoreV1Event]**](CoreV1Event.md) | List of events | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/CoreV1EventSeries.md b/kubernetes/aio/docs/CoreV1EventSeries.md similarity index 100% rename from kubernetes_asyncio/docs/CoreV1EventSeries.md rename to kubernetes/aio/docs/CoreV1EventSeries.md diff --git a/kubernetes_asyncio/docs/CoreV1ResourceClaim.md b/kubernetes/aio/docs/CoreV1ResourceClaim.md similarity index 100% rename from kubernetes_asyncio/docs/CoreV1ResourceClaim.md rename to kubernetes/aio/docs/CoreV1ResourceClaim.md diff --git a/kubernetes_asyncio/docs/CustomObjectsApi.md b/kubernetes/aio/docs/CustomObjectsApi.md similarity index 85% rename from kubernetes_asyncio/docs/CustomObjectsApi.md rename to kubernetes/aio/docs/CustomObjectsApi.md index 98c98ed13f..bb6590f993 100644 --- a/kubernetes_asyncio/docs/CustomObjectsApi.md +++ b/kubernetes/aio/docs/CustomObjectsApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.CustomObjectsApi +# kubernetes.aio.client.CustomObjectsApi All URIs are relative to *http://localhost* @@ -47,16 +47,16 @@ Creates a cluster scoped Custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -67,10 +67,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version plural = 'plural_example' # str | The custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -134,16 +134,16 @@ Creates a namespace scoped Custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -154,10 +154,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -223,16 +223,16 @@ Deletes the specified cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -243,10 +243,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom object's plural name. For TPRs this would be lowercase plural kind. @@ -255,7 +255,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_cluster_custom_object(group, version, plural, name, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, dry_run=dry_run, body=body) @@ -312,16 +312,16 @@ Delete collection of cluster scoped custom objects ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -332,10 +332,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version plural = 'plural_example' # str | The custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -345,7 +345,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_cluster_custom_object(group, version, plural, pretty=pretty, label_selector=label_selector, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, dry_run=dry_run, body=body) @@ -403,16 +403,16 @@ Delete collection of namespace scoped custom objects ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -423,10 +423,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -438,7 +438,7 @@ orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_custom_object(group, version, namespace, plural, pretty=pretty, label_selector=label_selector, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, dry_run=dry_run, field_selector=field_selector, body=body) @@ -498,16 +498,16 @@ Deletes the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -518,10 +518,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -531,7 +531,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_custom_object(group, version, namespace, plural, name, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, dry_run=dry_run, body=body) @@ -589,16 +589,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -609,10 +609,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version @@ -664,16 +664,16 @@ Returns a cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -684,10 +684,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom object's plural name. For TPRs this would be lowercase plural kind. @@ -743,16 +743,16 @@ read scale of the specified custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -763,10 +763,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -822,16 +822,16 @@ read status of the specified cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -842,10 +842,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -901,16 +901,16 @@ Returns a namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -921,10 +921,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -982,16 +982,16 @@ read scale of the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1002,10 +1002,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -1063,16 +1063,16 @@ read status of the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1083,10 +1083,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -1144,16 +1144,16 @@ list or watch cluster scoped custom objects ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1164,19 +1164,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version plural = 'plural_example' # str | The custom resource's plural name. For TPRs this would be lowercase plural kind. pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) @@ -1198,10 +1198,10 @@ Name | Type | Description | Notes **plural** | **str**| The custom resource's plural name. For TPRs this would be lowercase plural kind. | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] @@ -1241,16 +1241,16 @@ list or watch namespace scoped custom objects ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1261,19 +1261,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version resource_plural = 'resource_plural_example' # str | The custom resource's plural name. For TPRs this would be lowercase plural kind. pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) @@ -1295,10 +1295,10 @@ Name | Type | Description | Notes **resource_plural** | **str**| The custom resource's plural name. For TPRs this would be lowercase plural kind. | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] @@ -1338,16 +1338,16 @@ list or watch namespace scoped custom objects ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1358,20 +1358,20 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | The custom resource's group name version = 'version_example' # str | The custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace plural = 'plural_example' # str | The custom resource's plural name. For TPRs this would be lowercase plural kind. pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) @@ -1394,10 +1394,10 @@ Name | Type | Description | Notes **plural** | **str**| The custom resource's plural name. For TPRs this would be lowercase plural kind. | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] @@ -1437,16 +1437,16 @@ patch the specified cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1457,10 +1457,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom object's plural name. For TPRs this would be lowercase plural kind. @@ -1526,16 +1526,16 @@ partially update scale of the specified cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1546,10 +1546,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -1615,16 +1615,16 @@ partially update status of the specified cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1635,10 +1635,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -1704,16 +1704,16 @@ patch the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1724,10 +1724,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -1795,16 +1795,16 @@ partially update scale of the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1815,10 +1815,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -1886,16 +1886,16 @@ partially update status of the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1906,10 +1906,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -1977,16 +1977,16 @@ replace the specified cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1997,10 +1997,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom object's plural name. For TPRs this would be lowercase plural kind. @@ -2064,16 +2064,16 @@ replace scale of the specified cluster scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2084,10 +2084,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -2152,16 +2152,16 @@ replace status of the cluster scoped specified custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2172,10 +2172,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version plural = 'plural_example' # str | the custom resource's plural name. For TPRs this would be lowercase plural kind. @@ -2240,16 +2240,16 @@ replace the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2260,10 +2260,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -2329,16 +2329,16 @@ replace scale of the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2349,10 +2349,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace @@ -2419,16 +2419,16 @@ replace status of the specified namespace scoped custom object ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2439,10 +2439,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.CustomObjectsApi(api_client) + api_instance = kubernetes.aio.client.CustomObjectsApi(api_client) group = 'group_example' # str | the custom resource's group version = 'version_example' # str | the custom resource's version namespace = 'namespace_example' # str | The custom resource's namespace diff --git a/kubernetes_asyncio/docs/DiscoveryApi.md b/kubernetes/aio/docs/DiscoveryApi.md similarity index 79% rename from kubernetes_asyncio/docs/DiscoveryApi.md rename to kubernetes/aio/docs/DiscoveryApi.md index bc0ade65de..7d5e3594a9 100644 --- a/kubernetes_asyncio/docs/DiscoveryApi.md +++ b/kubernetes/aio/docs/DiscoveryApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.DiscoveryApi +# kubernetes.aio.client.DiscoveryApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryApi(api_client) + api_instance = kubernetes.aio.client.DiscoveryApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/DiscoveryV1Api.md b/kubernetes/aio/docs/DiscoveryV1Api.md similarity index 81% rename from kubernetes_asyncio/docs/DiscoveryV1Api.md rename to kubernetes/aio/docs/DiscoveryV1Api.md index d96ea3a29a..f50c65908d 100644 --- a/kubernetes_asyncio/docs/DiscoveryV1Api.md +++ b/kubernetes/aio/docs/DiscoveryV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.DiscoveryV1Api +# kubernetes.aio.client.DiscoveryV1Api All URIs are relative to *http://localhost* @@ -28,16 +28,16 @@ create an EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -48,12 +48,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1EndpointSlice() # V1EndpointSlice | +body = kubernetes.aio.client.V1EndpointSlice() # V1EndpointSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,19 +133,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -153,7 +153,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_endpoint_slice(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -168,13 +168,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -218,16 +218,16 @@ delete an EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -238,10 +238,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -250,7 +250,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_endpoint_slice(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -308,16 +308,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -328,10 +328,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -377,16 +377,16 @@ list or watch objects of kind EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -397,15 +397,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -426,10 +426,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -472,16 +472,16 @@ list or watch objects of kind EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -492,17 +492,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -524,10 +524,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -569,16 +569,16 @@ partially update the specified EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -589,10 +589,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -657,16 +657,16 @@ read the specified EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -677,10 +677,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -734,16 +734,16 @@ replace the specified EndpointSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -754,13 +754,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.DiscoveryV1Api(api_client) + api_instance = kubernetes.aio.client.DiscoveryV1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1EndpointSlice() # V1EndpointSlice | +body = kubernetes.aio.client.V1EndpointSlice() # V1EndpointSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/DiscoveryV1EndpointPort.md b/kubernetes/aio/docs/DiscoveryV1EndpointPort.md similarity index 100% rename from kubernetes_asyncio/docs/DiscoveryV1EndpointPort.md rename to kubernetes/aio/docs/DiscoveryV1EndpointPort.md diff --git a/kubernetes_asyncio/docs/EventsApi.md b/kubernetes/aio/docs/EventsApi.md similarity index 79% rename from kubernetes_asyncio/docs/EventsApi.md rename to kubernetes/aio/docs/EventsApi.md index 840aa694d5..f525975937 100644 --- a/kubernetes_asyncio/docs/EventsApi.md +++ b/kubernetes/aio/docs/EventsApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.EventsApi +# kubernetes.aio.client.EventsApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsApi(api_client) + api_instance = kubernetes.aio.client.EventsApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/EventsV1Api.md b/kubernetes/aio/docs/EventsV1Api.md similarity index 81% rename from kubernetes_asyncio/docs/EventsV1Api.md rename to kubernetes/aio/docs/EventsV1Api.md index 773187273a..e1ecda264f 100644 --- a/kubernetes_asyncio/docs/EventsV1Api.md +++ b/kubernetes/aio/docs/EventsV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.EventsV1Api +# kubernetes.aio.client.EventsV1Api All URIs are relative to *http://localhost* @@ -28,16 +28,16 @@ create an Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -48,12 +48,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.EventsV1Event() # EventsV1Event | +body = kubernetes.aio.client.EventsV1Event() # EventsV1Event | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,19 +133,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -153,7 +153,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_event(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -168,13 +168,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -218,16 +218,16 @@ delete an Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -238,10 +238,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -250,7 +250,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_event(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -308,16 +308,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -328,10 +328,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -377,16 +377,16 @@ list or watch objects of kind Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -397,15 +397,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -426,10 +426,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -472,16 +472,16 @@ list or watch objects of kind Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -492,17 +492,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -524,10 +524,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -569,16 +569,16 @@ partially update the specified Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -589,10 +589,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -657,16 +657,16 @@ read the specified Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -677,10 +677,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -734,16 +734,16 @@ replace the specified Event ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -754,13 +754,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.EventsV1Api(api_client) + api_instance = kubernetes.aio.client.EventsV1Api(api_client) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.EventsV1Event() # EventsV1Event | +body = kubernetes.aio.client.EventsV1Event() # EventsV1Event | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/EventsV1Event.md b/kubernetes/aio/docs/EventsV1Event.md similarity index 93% rename from kubernetes_asyncio/docs/EventsV1Event.md rename to kubernetes/aio/docs/EventsV1Event.md index afca1e377e..8f3832b891 100644 --- a/kubernetes_asyncio/docs/EventsV1Event.md +++ b/kubernetes/aio/docs/EventsV1Event.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **deprecated_last_timestamp** | **datetime** | deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] **deprecated_source** | [**V1EventSource**](V1EventSource.md) | | [optional] **event_time** | **datetime** | eventTime is the time when this Event was first observed. It is required. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **note** | **str** | note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. | [optional] **reason** | **str** | reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters. | [optional] diff --git a/kubernetes_asyncio/docs/EventsV1EventList.md b/kubernetes/aio/docs/EventsV1EventList.md similarity index 81% rename from kubernetes_asyncio/docs/EventsV1EventList.md rename to kubernetes/aio/docs/EventsV1EventList.md index 0aff32c553..ed6f7bd923 100644 --- a/kubernetes_asyncio/docs/EventsV1EventList.md +++ b/kubernetes/aio/docs/EventsV1EventList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[EventsV1Event]**](EventsV1Event.md) | items is a list of schema objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/EventsV1EventSeries.md b/kubernetes/aio/docs/EventsV1EventSeries.md similarity index 79% rename from kubernetes_asyncio/docs/EventsV1EventSeries.md rename to kubernetes/aio/docs/EventsV1EventSeries.md index a90876338e..2f3378dfe9 100644 --- a/kubernetes_asyncio/docs/EventsV1EventSeries.md +++ b/kubernetes/aio/docs/EventsV1EventSeries.md @@ -1,6 +1,6 @@ # EventsV1EventSeries -EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/kubernetes_asyncio.client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations. +EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/kubernetes.aio.client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations. ## Properties Name | Type | Description | Notes diff --git a/kubernetes_asyncio/docs/FlowcontrolApiserverApi.md b/kubernetes/aio/docs/FlowcontrolApiserverApi.md similarity index 79% rename from kubernetes_asyncio/docs/FlowcontrolApiserverApi.md rename to kubernetes/aio/docs/FlowcontrolApiserverApi.md index 74052bfcf6..b3bdd02925 100644 --- a/kubernetes_asyncio/docs/FlowcontrolApiserverApi.md +++ b/kubernetes/aio/docs/FlowcontrolApiserverApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.FlowcontrolApiserverApi +# kubernetes.aio.client.FlowcontrolApiserverApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverApi(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/FlowcontrolApiserverV1Api.md b/kubernetes/aio/docs/FlowcontrolApiserverV1Api.md similarity index 84% rename from kubernetes_asyncio/docs/FlowcontrolApiserverV1Api.md rename to kubernetes/aio/docs/FlowcontrolApiserverV1Api.md index d78ce3838f..aaca1911d4 100644 --- a/kubernetes_asyncio/docs/FlowcontrolApiserverV1Api.md +++ b/kubernetes/aio/docs/FlowcontrolApiserverV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.FlowcontrolApiserverV1Api +# kubernetes.aio.client.FlowcontrolApiserverV1Api All URIs are relative to *http://localhost* @@ -40,16 +40,16 @@ create a FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -60,11 +60,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) - body = kubernetes_asyncio.client.V1FlowSchema() # V1FlowSchema | + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) + body = kubernetes.aio.client.V1FlowSchema() # V1FlowSchema | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -123,16 +123,16 @@ create a PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -143,11 +143,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) - body = kubernetes_asyncio.client.V1PriorityLevelConfiguration() # V1PriorityLevelConfiguration | + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) + body = kubernetes.aio.client.V1PriorityLevelConfiguration() # V1PriorityLevelConfiguration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -206,16 +206,16 @@ delete collection of FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -226,18 +226,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -245,7 +245,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_flow_schema(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -259,13 +259,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -309,16 +309,16 @@ delete collection of PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -329,18 +329,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -348,7 +348,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_priority_level_configuration(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -362,13 +362,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -412,16 +412,16 @@ delete a FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -432,10 +432,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the FlowSchema pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -443,7 +443,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_flow_schema(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -500,16 +500,16 @@ delete a PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -520,10 +520,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the PriorityLevelConfiguration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -531,7 +531,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_priority_level_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -588,16 +588,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -608,10 +608,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -657,16 +657,16 @@ list or watch objects of kind FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -677,16 +677,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -707,10 +707,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -752,16 +752,16 @@ list or watch objects of kind PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -772,16 +772,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -802,10 +802,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -847,16 +847,16 @@ partially update the specified FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -867,10 +867,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the FlowSchema body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -933,16 +933,16 @@ partially update status of the specified FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -953,10 +953,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the FlowSchema body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1019,16 +1019,16 @@ partially update the specified PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1039,10 +1039,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the PriorityLevelConfiguration body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1105,16 +1105,16 @@ partially update status of the specified PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1125,10 +1125,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the PriorityLevelConfiguration body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1191,16 +1191,16 @@ read the specified FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1211,10 +1211,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the FlowSchema pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1266,16 +1266,16 @@ read status of the specified FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1286,10 +1286,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the FlowSchema pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1341,16 +1341,16 @@ read the specified PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1361,10 +1361,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the PriorityLevelConfiguration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1416,16 +1416,16 @@ read status of the specified PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1436,10 +1436,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the PriorityLevelConfiguration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1491,16 +1491,16 @@ replace the specified FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1511,12 +1511,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the FlowSchema -body = kubernetes_asyncio.client.V1FlowSchema() # V1FlowSchema | +body = kubernetes.aio.client.V1FlowSchema() # V1FlowSchema | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1575,16 +1575,16 @@ replace status of the specified FlowSchema ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1595,12 +1595,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the FlowSchema -body = kubernetes_asyncio.client.V1FlowSchema() # V1FlowSchema | +body = kubernetes.aio.client.V1FlowSchema() # V1FlowSchema | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1659,16 +1659,16 @@ replace the specified PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1679,12 +1679,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the PriorityLevelConfiguration -body = kubernetes_asyncio.client.V1PriorityLevelConfiguration() # V1PriorityLevelConfiguration | +body = kubernetes.aio.client.V1PriorityLevelConfiguration() # V1PriorityLevelConfiguration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1743,16 +1743,16 @@ replace status of the specified PriorityLevelConfiguration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1763,12 +1763,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.FlowcontrolApiserverV1Api(api_client) + api_instance = kubernetes.aio.client.FlowcontrolApiserverV1Api(api_client) name = 'name_example' # str | name of the PriorityLevelConfiguration -body = kubernetes_asyncio.client.V1PriorityLevelConfiguration() # V1PriorityLevelConfiguration | +body = kubernetes.aio.client.V1PriorityLevelConfiguration() # V1PriorityLevelConfiguration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/FlowcontrolV1Subject.md b/kubernetes/aio/docs/FlowcontrolV1Subject.md similarity index 100% rename from kubernetes_asyncio/docs/FlowcontrolV1Subject.md rename to kubernetes/aio/docs/FlowcontrolV1Subject.md diff --git a/kubernetes_asyncio/docs/InternalApiserverApi.md b/kubernetes/aio/docs/InternalApiserverApi.md similarity index 79% rename from kubernetes_asyncio/docs/InternalApiserverApi.md rename to kubernetes/aio/docs/InternalApiserverApi.md index 68840a4e86..f490137128 100644 --- a/kubernetes_asyncio/docs/InternalApiserverApi.md +++ b/kubernetes/aio/docs/InternalApiserverApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.InternalApiserverApi +# kubernetes.aio.client.InternalApiserverApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverApi(api_client) + api_instance = kubernetes.aio.client.InternalApiserverApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/InternalApiserverV1alpha1Api.md b/kubernetes/aio/docs/InternalApiserverV1alpha1Api.md similarity index 84% rename from kubernetes_asyncio/docs/InternalApiserverV1alpha1Api.md rename to kubernetes/aio/docs/InternalApiserverV1alpha1Api.md index e7f18f63c5..f3d2255f80 100644 --- a/kubernetes_asyncio/docs/InternalApiserverV1alpha1Api.md +++ b/kubernetes/aio/docs/InternalApiserverV1alpha1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.InternalApiserverV1alpha1Api +# kubernetes.aio.client.InternalApiserverV1alpha1Api All URIs are relative to *http://localhost* @@ -30,16 +30,16 @@ create a StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -50,11 +50,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) - body = kubernetes_asyncio.client.V1alpha1StorageVersion() # V1alpha1StorageVersion | + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) + body = kubernetes.aio.client.V1alpha1StorageVersion() # V1alpha1StorageVersion | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,18 +133,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -152,7 +152,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_storage_version(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -166,13 +166,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -216,16 +216,16 @@ delete a StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -236,10 +236,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) name = 'name_example' # str | name of the StorageVersion pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -247,7 +247,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_storage_version(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -304,16 +304,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -324,10 +324,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -373,16 +373,16 @@ list or watch objects of kind StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -393,16 +393,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -423,10 +423,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -468,16 +468,16 @@ partially update the specified StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -488,10 +488,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) name = 'name_example' # str | name of the StorageVersion body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -554,16 +554,16 @@ partially update status of the specified StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -574,10 +574,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) name = 'name_example' # str | name of the StorageVersion body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -640,16 +640,16 @@ read the specified StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -660,10 +660,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) name = 'name_example' # str | name of the StorageVersion pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -715,16 +715,16 @@ read status of the specified StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -735,10 +735,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) name = 'name_example' # str | name of the StorageVersion pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -790,16 +790,16 @@ replace the specified StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -810,12 +810,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) name = 'name_example' # str | name of the StorageVersion -body = kubernetes_asyncio.client.V1alpha1StorageVersion() # V1alpha1StorageVersion | +body = kubernetes.aio.client.V1alpha1StorageVersion() # V1alpha1StorageVersion | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -874,16 +874,16 @@ replace status of the specified StorageVersion ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -894,12 +894,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.InternalApiserverV1alpha1Api(api_client) + api_instance = kubernetes.aio.client.InternalApiserverV1alpha1Api(api_client) name = 'name_example' # str | name of the StorageVersion -body = kubernetes_asyncio.client.V1alpha1StorageVersion() # V1alpha1StorageVersion | +body = kubernetes.aio.client.V1alpha1StorageVersion() # V1alpha1StorageVersion | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/LogsApi.md b/kubernetes/aio/docs/LogsApi.md similarity index 79% rename from kubernetes_asyncio/docs/LogsApi.md rename to kubernetes/aio/docs/LogsApi.md index 0c35a44a2e..6a7d14191b 100644 --- a/kubernetes_asyncio/docs/LogsApi.md +++ b/kubernetes/aio/docs/LogsApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.LogsApi +# kubernetes.aio.client.LogsApi All URIs are relative to *http://localhost* @@ -19,16 +19,16 @@ Method | HTTP request | Description ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -39,10 +39,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.LogsApi(api_client) + api_instance = kubernetes.aio.client.LogsApi(api_client) logpath = 'logpath_example' # str | path to the log try: @@ -88,16 +88,16 @@ void (empty response body) ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -108,10 +108,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.LogsApi(api_client) + api_instance = kubernetes.aio.client.LogsApi(api_client) try: api_instance.log_file_list_handler() diff --git a/kubernetes_asyncio/docs/NetworkingApi.md b/kubernetes/aio/docs/NetworkingApi.md similarity index 79% rename from kubernetes_asyncio/docs/NetworkingApi.md rename to kubernetes/aio/docs/NetworkingApi.md index 2378a164e1..980b6c7275 100644 --- a/kubernetes_asyncio/docs/NetworkingApi.md +++ b/kubernetes/aio/docs/NetworkingApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.NetworkingApi +# kubernetes.aio.client.NetworkingApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingApi(api_client) + api_instance = kubernetes.aio.client.NetworkingApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/NetworkingV1Api.md b/kubernetes/aio/docs/NetworkingV1Api.md similarity index 82% rename from kubernetes_asyncio/docs/NetworkingV1Api.md rename to kubernetes/aio/docs/NetworkingV1Api.md index 2fe8514c37..3b7906370e 100644 --- a/kubernetes_asyncio/docs/NetworkingV1Api.md +++ b/kubernetes/aio/docs/NetworkingV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.NetworkingV1Api +# kubernetes.aio.client.NetworkingV1Api All URIs are relative to *http://localhost* @@ -63,16 +63,16 @@ create an IngressClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -83,11 +83,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) - body = kubernetes_asyncio.client.V1IngressClass() # V1IngressClass | + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) + body = kubernetes.aio.client.V1IngressClass() # V1IngressClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -146,16 +146,16 @@ create an IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -166,11 +166,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) - body = kubernetes_asyncio.client.V1IPAddress() # V1IPAddress | + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) + body = kubernetes.aio.client.V1IPAddress() # V1IPAddress | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -229,16 +229,16 @@ create an Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -249,12 +249,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Ingress() # V1Ingress | +body = kubernetes.aio.client.V1Ingress() # V1Ingress | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -314,16 +314,16 @@ create a NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -334,12 +334,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1NetworkPolicy() # V1NetworkPolicy | +body = kubernetes.aio.client.V1NetworkPolicy() # V1NetworkPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -399,16 +399,16 @@ create a ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -419,11 +419,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) - body = kubernetes_asyncio.client.V1ServiceCIDR() # V1ServiceCIDR | + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) + body = kubernetes.aio.client.V1ServiceCIDR() # V1ServiceCIDR | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -482,16 +482,16 @@ delete collection of IngressClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -502,18 +502,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -521,7 +521,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_ingress_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -535,13 +535,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -585,16 +585,16 @@ delete collection of IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -605,18 +605,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -624,7 +624,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_ip_address(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -638,13 +638,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -688,16 +688,16 @@ delete collection of Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -708,19 +708,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -728,7 +728,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_ingress(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -743,13 +743,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -793,16 +793,16 @@ delete collection of NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -813,19 +813,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -833,7 +833,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_network_policy(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -848,13 +848,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -898,16 +898,16 @@ delete collection of ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -918,18 +918,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -937,7 +937,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_service_cidr(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -951,13 +951,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1001,16 +1001,16 @@ delete an IngressClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1021,10 +1021,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IngressClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1032,7 +1032,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_ingress_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1089,16 +1089,16 @@ delete an IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1109,10 +1109,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IPAddress pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1120,7 +1120,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_ip_address(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1177,16 +1177,16 @@ delete an Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1197,10 +1197,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1209,7 +1209,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_ingress(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1267,16 +1267,16 @@ delete a NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1287,10 +1287,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the NetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1299,7 +1299,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_network_policy(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1357,16 +1357,16 @@ delete a ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1377,10 +1377,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1388,7 +1388,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_service_cidr(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1445,16 +1445,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1465,10 +1465,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1514,16 +1514,16 @@ list or watch objects of kind IngressClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1534,16 +1534,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1564,10 +1564,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1609,16 +1609,16 @@ list or watch objects of kind Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1629,15 +1629,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1658,10 +1658,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1704,16 +1704,16 @@ list or watch objects of kind IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1724,16 +1724,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1754,10 +1754,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1799,16 +1799,16 @@ list or watch objects of kind Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1819,17 +1819,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1851,10 +1851,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1896,16 +1896,16 @@ list or watch objects of kind NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1916,17 +1916,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1948,10 +1948,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1993,16 +1993,16 @@ list or watch objects of kind NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2013,15 +2013,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -2042,10 +2042,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -2088,16 +2088,16 @@ list or watch objects of kind ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2108,16 +2108,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2138,10 +2138,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2183,16 +2183,16 @@ partially update the specified IngressClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2203,10 +2203,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IngressClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2269,16 +2269,16 @@ partially update the specified IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2289,10 +2289,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IPAddress body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2355,16 +2355,16 @@ partially update the specified Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2375,10 +2375,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2443,16 +2443,16 @@ partially update status of the specified Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2463,10 +2463,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2531,16 +2531,16 @@ partially update the specified NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2551,10 +2551,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the NetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2619,16 +2619,16 @@ partially update the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2639,10 +2639,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2705,16 +2705,16 @@ partially update status of the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2725,10 +2725,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2791,16 +2791,16 @@ read the specified IngressClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2811,10 +2811,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IngressClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2866,16 +2866,16 @@ read the specified IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2886,10 +2886,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IPAddress pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2941,16 +2941,16 @@ read the specified Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2961,10 +2961,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3018,16 +3018,16 @@ read status of the specified Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3038,10 +3038,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3095,16 +3095,16 @@ read the specified NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3115,10 +3115,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the NetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3172,16 +3172,16 @@ read the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3192,10 +3192,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3247,16 +3247,16 @@ read status of the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3267,10 +3267,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3322,16 +3322,16 @@ replace the specified IngressClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3342,12 +3342,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IngressClass -body = kubernetes_asyncio.client.V1IngressClass() # V1IngressClass | +body = kubernetes.aio.client.V1IngressClass() # V1IngressClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3406,16 +3406,16 @@ replace the specified IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3426,12 +3426,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the IPAddress -body = kubernetes_asyncio.client.V1IPAddress() # V1IPAddress | +body = kubernetes.aio.client.V1IPAddress() # V1IPAddress | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3490,16 +3490,16 @@ replace the specified Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3510,13 +3510,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Ingress() # V1Ingress | +body = kubernetes.aio.client.V1Ingress() # V1Ingress | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3576,16 +3576,16 @@ replace status of the specified Ingress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3596,13 +3596,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Ingress() # V1Ingress | +body = kubernetes.aio.client.V1Ingress() # V1Ingress | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3662,16 +3662,16 @@ replace the specified NetworkPolicy ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3682,13 +3682,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the NetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1NetworkPolicy() # V1NetworkPolicy | +body = kubernetes.aio.client.V1NetworkPolicy() # V1NetworkPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3748,16 +3748,16 @@ replace the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3768,12 +3768,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR -body = kubernetes_asyncio.client.V1ServiceCIDR() # V1ServiceCIDR | +body = kubernetes.aio.client.V1ServiceCIDR() # V1ServiceCIDR | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3832,16 +3832,16 @@ replace status of the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3852,12 +3852,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR -body = kubernetes_asyncio.client.V1ServiceCIDR() # V1ServiceCIDR | +body = kubernetes.aio.client.V1ServiceCIDR() # V1ServiceCIDR | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/NetworkingV1beta1Api.md b/kubernetes/aio/docs/NetworkingV1beta1Api.md similarity index 83% rename from kubernetes_asyncio/docs/NetworkingV1beta1Api.md rename to kubernetes/aio/docs/NetworkingV1beta1Api.md index 851bfef113..f26b292f2b 100644 --- a/kubernetes_asyncio/docs/NetworkingV1beta1Api.md +++ b/kubernetes/aio/docs/NetworkingV1beta1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.NetworkingV1beta1Api +# kubernetes.aio.client.NetworkingV1beta1Api All URIs are relative to *http://localhost* @@ -37,16 +37,16 @@ create an IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -57,11 +57,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1IPAddress() # V1beta1IPAddress | + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1IPAddress() # V1beta1IPAddress | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -120,16 +120,16 @@ create a ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -140,11 +140,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1ServiceCIDR() # V1beta1ServiceCIDR | + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1ServiceCIDR() # V1beta1ServiceCIDR | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -203,16 +203,16 @@ delete collection of IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -223,18 +223,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -242,7 +242,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_ip_address(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -256,13 +256,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -306,16 +306,16 @@ delete collection of ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -326,18 +326,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -345,7 +345,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_service_cidr(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -359,13 +359,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -409,16 +409,16 @@ delete an IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -429,10 +429,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the IPAddress pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -440,7 +440,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_ip_address(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -497,16 +497,16 @@ delete a ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -517,10 +517,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -528,7 +528,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_service_cidr(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -585,16 +585,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -605,10 +605,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -654,16 +654,16 @@ list or watch objects of kind IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -674,16 +674,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -704,10 +704,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -749,16 +749,16 @@ list or watch objects of kind ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -769,16 +769,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -799,10 +799,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -844,16 +844,16 @@ partially update the specified IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -864,10 +864,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the IPAddress body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -930,16 +930,16 @@ partially update the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -950,10 +950,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1016,16 +1016,16 @@ partially update status of the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1036,10 +1036,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1102,16 +1102,16 @@ read the specified IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1122,10 +1122,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the IPAddress pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1177,16 +1177,16 @@ read the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1197,10 +1197,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1252,16 +1252,16 @@ read status of the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1272,10 +1272,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1327,16 +1327,16 @@ replace the specified IPAddress ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1347,12 +1347,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the IPAddress -body = kubernetes_asyncio.client.V1beta1IPAddress() # V1beta1IPAddress | +body = kubernetes.aio.client.V1beta1IPAddress() # V1beta1IPAddress | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1411,16 +1411,16 @@ replace the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1431,12 +1431,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR -body = kubernetes_asyncio.client.V1beta1ServiceCIDR() # V1beta1ServiceCIDR | +body = kubernetes.aio.client.V1beta1ServiceCIDR() # V1beta1ServiceCIDR | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1495,16 +1495,16 @@ replace status of the specified ServiceCIDR ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1515,12 +1515,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NetworkingV1beta1Api(api_client) + api_instance = kubernetes.aio.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR -body = kubernetes_asyncio.client.V1beta1ServiceCIDR() # V1beta1ServiceCIDR | +body = kubernetes.aio.client.V1beta1ServiceCIDR() # V1beta1ServiceCIDR | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/NodeApi.md b/kubernetes/aio/docs/NodeApi.md similarity index 79% rename from kubernetes_asyncio/docs/NodeApi.md rename to kubernetes/aio/docs/NodeApi.md index a3ef2d1eb6..874f3a5fae 100644 --- a/kubernetes_asyncio/docs/NodeApi.md +++ b/kubernetes/aio/docs/NodeApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.NodeApi +# kubernetes.aio.client.NodeApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeApi(api_client) + api_instance = kubernetes.aio.client.NodeApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/NodeV1Api.md b/kubernetes/aio/docs/NodeV1Api.md similarity index 82% rename from kubernetes_asyncio/docs/NodeV1Api.md rename to kubernetes/aio/docs/NodeV1Api.md index 60fe6ab345..fbebc5d3f8 100644 --- a/kubernetes_asyncio/docs/NodeV1Api.md +++ b/kubernetes/aio/docs/NodeV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.NodeV1Api +# kubernetes.aio.client.NodeV1Api All URIs are relative to *http://localhost* @@ -27,16 +27,16 @@ create a RuntimeClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -47,11 +47,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) - body = kubernetes_asyncio.client.V1RuntimeClass() # V1RuntimeClass | + api_instance = kubernetes.aio.client.NodeV1Api(api_client) + body = kubernetes.aio.client.V1RuntimeClass() # V1RuntimeClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -110,16 +110,16 @@ delete collection of RuntimeClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -130,18 +130,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) + api_instance = kubernetes.aio.client.NodeV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -149,7 +149,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_runtime_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -163,13 +163,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -213,16 +213,16 @@ delete a RuntimeClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -233,10 +233,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) + api_instance = kubernetes.aio.client.NodeV1Api(api_client) name = 'name_example' # str | name of the RuntimeClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -244,7 +244,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_runtime_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -301,16 +301,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -321,10 +321,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) + api_instance = kubernetes.aio.client.NodeV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -370,16 +370,16 @@ list or watch objects of kind RuntimeClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -390,16 +390,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) + api_instance = kubernetes.aio.client.NodeV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -420,10 +420,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -465,16 +465,16 @@ partially update the specified RuntimeClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -485,10 +485,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) + api_instance = kubernetes.aio.client.NodeV1Api(api_client) name = 'name_example' # str | name of the RuntimeClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -551,16 +551,16 @@ read the specified RuntimeClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -571,10 +571,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) + api_instance = kubernetes.aio.client.NodeV1Api(api_client) name = 'name_example' # str | name of the RuntimeClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -626,16 +626,16 @@ replace the specified RuntimeClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -646,12 +646,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.NodeV1Api(api_client) + api_instance = kubernetes.aio.client.NodeV1Api(api_client) name = 'name_example' # str | name of the RuntimeClass -body = kubernetes_asyncio.client.V1RuntimeClass() # V1RuntimeClass | +body = kubernetes.aio.client.V1RuntimeClass() # V1RuntimeClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/OpenidApi.md b/kubernetes/aio/docs/OpenidApi.md similarity index 80% rename from kubernetes_asyncio/docs/OpenidApi.md rename to kubernetes/aio/docs/OpenidApi.md index 9ca1c79bde..fca1bffef6 100644 --- a/kubernetes_asyncio/docs/OpenidApi.md +++ b/kubernetes/aio/docs/OpenidApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.OpenidApi +# kubernetes.aio.client.OpenidApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get service account issuer OpenID JSON Web Key Set (contains public token verifi ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.OpenidApi(api_client) + api_instance = kubernetes.aio.client.OpenidApi(api_client) try: api_response = api_instance.get_service_account_issuer_open_id_keyset() diff --git a/kubernetes_asyncio/docs/PolicyApi.md b/kubernetes/aio/docs/PolicyApi.md similarity index 79% rename from kubernetes_asyncio/docs/PolicyApi.md rename to kubernetes/aio/docs/PolicyApi.md index a93fd81bbe..e5429b01ba 100644 --- a/kubernetes_asyncio/docs/PolicyApi.md +++ b/kubernetes/aio/docs/PolicyApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.PolicyApi +# kubernetes.aio.client.PolicyApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyApi(api_client) + api_instance = kubernetes.aio.client.PolicyApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/PolicyV1Api.md b/kubernetes/aio/docs/PolicyV1Api.md similarity index 83% rename from kubernetes_asyncio/docs/PolicyV1Api.md rename to kubernetes/aio/docs/PolicyV1Api.md index 231dbfcac7..0982c93d12 100644 --- a/kubernetes_asyncio/docs/PolicyV1Api.md +++ b/kubernetes/aio/docs/PolicyV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.PolicyV1Api +# kubernetes.aio.client.PolicyV1Api All URIs are relative to *http://localhost* @@ -31,16 +31,16 @@ create a PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -51,12 +51,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PodDisruptionBudget() # V1PodDisruptionBudget | +body = kubernetes.aio.client.V1PodDisruptionBudget() # V1PodDisruptionBudget | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -116,16 +116,16 @@ delete collection of PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -136,19 +136,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -156,7 +156,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_pod_disruption_budget(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -171,13 +171,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -221,16 +221,16 @@ delete a PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -241,10 +241,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -253,7 +253,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_pod_disruption_budget(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -311,16 +311,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -331,10 +331,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -380,16 +380,16 @@ list or watch objects of kind PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -400,17 +400,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -432,10 +432,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -477,16 +477,16 @@ list or watch objects of kind PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -497,15 +497,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -526,10 +526,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -572,16 +572,16 @@ partially update the specified PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -592,10 +592,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -660,16 +660,16 @@ partially update status of the specified PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -680,10 +680,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -748,16 +748,16 @@ read the specified PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -768,10 +768,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -825,16 +825,16 @@ read status of the specified PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -845,10 +845,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -902,16 +902,16 @@ replace the specified PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -922,13 +922,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PodDisruptionBudget() # V1PodDisruptionBudget | +body = kubernetes.aio.client.V1PodDisruptionBudget() # V1PodDisruptionBudget | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -988,16 +988,16 @@ replace status of the specified PodDisruptionBudget ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1008,13 +1008,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.PolicyV1Api(api_client) + api_instance = kubernetes.aio.client.PolicyV1Api(api_client) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1PodDisruptionBudget() # V1PodDisruptionBudget | +body = kubernetes.aio.client.V1PodDisruptionBudget() # V1PodDisruptionBudget | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/RbacAuthorizationApi.md b/kubernetes/aio/docs/RbacAuthorizationApi.md similarity index 79% rename from kubernetes_asyncio/docs/RbacAuthorizationApi.md rename to kubernetes/aio/docs/RbacAuthorizationApi.md index 4c95dc66ec..26daa49bef 100644 --- a/kubernetes_asyncio/docs/RbacAuthorizationApi.md +++ b/kubernetes/aio/docs/RbacAuthorizationApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.RbacAuthorizationApi +# kubernetes.aio.client.RbacAuthorizationApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationApi(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/RbacAuthorizationV1Api.md b/kubernetes/aio/docs/RbacAuthorizationV1Api.md similarity index 81% rename from kubernetes_asyncio/docs/RbacAuthorizationV1Api.md rename to kubernetes/aio/docs/RbacAuthorizationV1Api.md index 613f6d910a..e09e6c4acf 100644 --- a/kubernetes_asyncio/docs/RbacAuthorizationV1Api.md +++ b/kubernetes/aio/docs/RbacAuthorizationV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.RbacAuthorizationV1Api +# kubernetes.aio.client.RbacAuthorizationV1Api All URIs are relative to *http://localhost* @@ -50,16 +50,16 @@ create a ClusterRole ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -70,11 +70,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) - body = kubernetes_asyncio.client.V1ClusterRole() # V1ClusterRole | + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) + body = kubernetes.aio.client.V1ClusterRole() # V1ClusterRole | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -133,16 +133,16 @@ create a ClusterRoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -153,11 +153,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) - body = kubernetes_asyncio.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) + body = kubernetes.aio.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -216,16 +216,16 @@ create a Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -236,12 +236,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Role() # V1Role | +body = kubernetes.aio.client.V1Role() # V1Role | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -301,16 +301,16 @@ create a RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -321,12 +321,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1RoleBinding() # V1RoleBinding | +body = kubernetes.aio.client.V1RoleBinding() # V1RoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -386,16 +386,16 @@ delete a ClusterRole ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -406,10 +406,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRole pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -417,7 +417,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_cluster_role(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -474,16 +474,16 @@ delete a ClusterRoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -494,10 +494,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRoleBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -505,7 +505,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_cluster_role_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -562,16 +562,16 @@ delete collection of ClusterRole ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -582,18 +582,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -601,7 +601,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_cluster_role(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -615,13 +615,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -665,16 +665,16 @@ delete collection of ClusterRoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -685,18 +685,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -704,7 +704,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_cluster_role_binding(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -718,13 +718,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -768,16 +768,16 @@ delete collection of Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -788,19 +788,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -808,7 +808,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_role(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -823,13 +823,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -873,16 +873,16 @@ delete collection of RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -893,19 +893,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -913,7 +913,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_role_binding(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -928,13 +928,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -978,16 +978,16 @@ delete a Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -998,10 +998,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1010,7 +1010,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_role(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1068,16 +1068,16 @@ delete a RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1088,10 +1088,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1100,7 +1100,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_role_binding(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1158,16 +1158,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1178,10 +1178,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1227,16 +1227,16 @@ list or watch objects of kind ClusterRole ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1247,16 +1247,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1277,10 +1277,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1322,16 +1322,16 @@ list or watch objects of kind ClusterRoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1342,16 +1342,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1372,10 +1372,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1417,16 +1417,16 @@ list or watch objects of kind Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1437,17 +1437,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1469,10 +1469,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1514,16 +1514,16 @@ list or watch objects of kind RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1534,17 +1534,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1566,10 +1566,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1611,16 +1611,16 @@ list or watch objects of kind RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1631,15 +1631,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1660,10 +1660,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1706,16 +1706,16 @@ list or watch objects of kind Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1726,15 +1726,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1755,10 +1755,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1801,16 +1801,16 @@ partially update the specified ClusterRole ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1821,10 +1821,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRole body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1887,16 +1887,16 @@ partially update the specified ClusterRoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1907,10 +1907,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRoleBinding body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1973,16 +1973,16 @@ partially update the specified Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1993,10 +1993,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2061,16 +2061,16 @@ partially update the specified RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2081,10 +2081,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2149,16 +2149,16 @@ read the specified ClusterRole ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2169,10 +2169,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRole pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2224,16 +2224,16 @@ read the specified ClusterRoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2244,10 +2244,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRoleBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2299,16 +2299,16 @@ read the specified Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2319,10 +2319,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2376,16 +2376,16 @@ read the specified RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2396,10 +2396,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2453,16 +2453,16 @@ replace the specified ClusterRole ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2473,12 +2473,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRole -body = kubernetes_asyncio.client.V1ClusterRole() # V1ClusterRole | +body = kubernetes.aio.client.V1ClusterRole() # V1ClusterRole | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2537,16 +2537,16 @@ replace the specified ClusterRoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2557,12 +2557,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the ClusterRoleBinding -body = kubernetes_asyncio.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | +body = kubernetes.aio.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2621,16 +2621,16 @@ replace the specified Role ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2641,13 +2641,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1Role() # V1Role | +body = kubernetes.aio.client.V1Role() # V1Role | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2707,16 +2707,16 @@ replace the specified RoleBinding ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2727,13 +2727,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.RbacAuthorizationV1Api(api_client) + api_instance = kubernetes.aio.client.RbacAuthorizationV1Api(api_client) name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1RoleBinding() # V1RoleBinding | +body = kubernetes.aio.client.V1RoleBinding() # V1RoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/RbacV1Subject.md b/kubernetes/aio/docs/RbacV1Subject.md similarity index 100% rename from kubernetes_asyncio/docs/RbacV1Subject.md rename to kubernetes/aio/docs/RbacV1Subject.md diff --git a/kubernetes_asyncio/docs/ResourceApi.md b/kubernetes/aio/docs/ResourceApi.md similarity index 79% rename from kubernetes_asyncio/docs/ResourceApi.md rename to kubernetes/aio/docs/ResourceApi.md index cf00637d90..37942f788a 100644 --- a/kubernetes_asyncio/docs/ResourceApi.md +++ b/kubernetes/aio/docs/ResourceApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ResourceApi +# kubernetes.aio.client.ResourceApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceApi(api_client) + api_instance = kubernetes.aio.client.ResourceApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/ResourceV1Api.md b/kubernetes/aio/docs/ResourceV1Api.md similarity index 82% rename from kubernetes_asyncio/docs/ResourceV1Api.md rename to kubernetes/aio/docs/ResourceV1Api.md index c5a15f4a6a..abcfd81a22 100644 --- a/kubernetes_asyncio/docs/ResourceV1Api.md +++ b/kubernetes/aio/docs/ResourceV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ResourceV1Api +# kubernetes.aio.client.ResourceV1Api All URIs are relative to *http://localhost* @@ -53,16 +53,16 @@ create a DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -73,11 +73,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) - body = kubernetes_asyncio.client.V1DeviceClass() # V1DeviceClass | + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) + body = kubernetes.aio.client.V1DeviceClass() # V1DeviceClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -136,16 +136,16 @@ create a ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -156,12 +156,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.ResourceV1ResourceClaim() # ResourceV1ResourceClaim | +body = kubernetes.aio.client.ResourceV1ResourceClaim() # ResourceV1ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -221,16 +221,16 @@ create a ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -241,12 +241,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ResourceClaimTemplate() # V1ResourceClaimTemplate | +body = kubernetes.aio.client.V1ResourceClaimTemplate() # V1ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -306,16 +306,16 @@ create a ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -326,11 +326,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) - body = kubernetes_asyncio.client.V1ResourceSlice() # V1ResourceSlice | + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) + body = kubernetes.aio.client.V1ResourceSlice() # V1ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -389,16 +389,16 @@ delete collection of DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -409,18 +409,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -428,7 +428,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_device_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -442,13 +442,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -492,16 +492,16 @@ delete collection of ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -512,19 +512,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -532,7 +532,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_resource_claim(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -547,13 +547,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -597,16 +597,16 @@ delete collection of ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -617,19 +617,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -637,7 +637,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_resource_claim_template(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -652,13 +652,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -702,16 +702,16 @@ delete collection of ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -722,18 +722,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -741,7 +741,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_resource_slice(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -755,13 +755,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -805,16 +805,16 @@ delete a DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -825,10 +825,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the DeviceClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -836,7 +836,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_device_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -893,16 +893,16 @@ delete a ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -913,10 +913,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -925,7 +925,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_resource_claim(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -983,16 +983,16 @@ delete a ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1003,10 +1003,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1015,7 +1015,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_resource_claim_template(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1073,16 +1073,16 @@ delete a ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1093,10 +1093,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceSlice pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1104,7 +1104,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_resource_slice(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1161,16 +1161,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1181,10 +1181,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1230,16 +1230,16 @@ list or watch objects of kind DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1250,16 +1250,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1280,10 +1280,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1325,16 +1325,16 @@ list or watch objects of kind ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1345,17 +1345,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1377,10 +1377,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1422,16 +1422,16 @@ list or watch objects of kind ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1442,17 +1442,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1474,10 +1474,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1519,16 +1519,16 @@ list or watch objects of kind ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1539,15 +1539,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1568,10 +1568,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1614,16 +1614,16 @@ list or watch objects of kind ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1634,15 +1634,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1663,10 +1663,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1709,16 +1709,16 @@ list or watch objects of kind ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1729,16 +1729,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1759,10 +1759,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1804,16 +1804,16 @@ partially update the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1824,10 +1824,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the DeviceClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1890,16 +1890,16 @@ partially update the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1910,10 +1910,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1978,16 +1978,16 @@ partially update status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1998,10 +1998,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2066,16 +2066,16 @@ partially update the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2086,10 +2086,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2154,16 +2154,16 @@ partially update the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2174,10 +2174,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceSlice body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2240,16 +2240,16 @@ read the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2260,10 +2260,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the DeviceClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2315,16 +2315,16 @@ read the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2335,10 +2335,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2392,16 +2392,16 @@ read status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2412,10 +2412,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2469,16 +2469,16 @@ read the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2489,10 +2489,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2546,16 +2546,16 @@ read the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2566,10 +2566,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceSlice pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2621,16 +2621,16 @@ replace the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2641,12 +2641,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the DeviceClass -body = kubernetes_asyncio.client.V1DeviceClass() # V1DeviceClass | +body = kubernetes.aio.client.V1DeviceClass() # V1DeviceClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2705,16 +2705,16 @@ replace the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2725,13 +2725,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.ResourceV1ResourceClaim() # ResourceV1ResourceClaim | +body = kubernetes.aio.client.ResourceV1ResourceClaim() # ResourceV1ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2791,16 +2791,16 @@ replace status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2811,13 +2811,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.ResourceV1ResourceClaim() # ResourceV1ResourceClaim | +body = kubernetes.aio.client.ResourceV1ResourceClaim() # ResourceV1ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2877,16 +2877,16 @@ replace the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2897,13 +2897,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1ResourceClaimTemplate() # V1ResourceClaimTemplate | +body = kubernetes.aio.client.V1ResourceClaimTemplate() # V1ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2963,16 +2963,16 @@ replace the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2983,12 +2983,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1Api(api_client) name = 'name_example' # str | name of the ResourceSlice -body = kubernetes_asyncio.client.V1ResourceSlice() # V1ResourceSlice | +body = kubernetes.aio.client.V1ResourceSlice() # V1ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/ResourceV1ResourceClaim.md b/kubernetes/aio/docs/ResourceV1ResourceClaim.md similarity index 85% rename from kubernetes_asyncio/docs/ResourceV1ResourceClaim.md rename to kubernetes/aio/docs/ResourceV1ResourceClaim.md index 9844f04984..0fe4d5f37e 100644 --- a/kubernetes_asyncio/docs/ResourceV1ResourceClaim.md +++ b/kubernetes/aio/docs/ResourceV1ResourceClaim.md @@ -6,7 +6,7 @@ ResourceClaim describes a request for access to resources in the cluster, for us Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ResourceClaimSpec**](V1ResourceClaimSpec.md) | | **status** | [**V1ResourceClaimStatus**](V1ResourceClaimStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/ResourceV1alpha3Api.md b/kubernetes/aio/docs/ResourceV1alpha3Api.md similarity index 84% rename from kubernetes_asyncio/docs/ResourceV1alpha3Api.md rename to kubernetes/aio/docs/ResourceV1alpha3Api.md index 06267a013e..4638af6d62 100644 --- a/kubernetes_asyncio/docs/ResourceV1alpha3Api.md +++ b/kubernetes/aio/docs/ResourceV1alpha3Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ResourceV1alpha3Api +# kubernetes.aio.client.ResourceV1alpha3Api All URIs are relative to *http://localhost* @@ -40,16 +40,16 @@ create a DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -60,11 +60,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) - body = kubernetes_asyncio.client.V1alpha3DeviceTaintRule() # V1alpha3DeviceTaintRule | + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) + body = kubernetes.aio.client.V1alpha3DeviceTaintRule() # V1alpha3DeviceTaintRule | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -123,16 +123,16 @@ create a ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -143,11 +143,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) - body = kubernetes_asyncio.client.V1alpha3ResourcePoolStatusRequest() # V1alpha3ResourcePoolStatusRequest | + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) + body = kubernetes.aio.client.V1alpha3ResourcePoolStatusRequest() # V1alpha3ResourcePoolStatusRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -206,16 +206,16 @@ delete collection of DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -226,18 +226,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -245,7 +245,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_device_taint_rule(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -259,13 +259,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -309,16 +309,16 @@ delete collection of ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -329,18 +329,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -348,7 +348,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_resource_pool_status_request(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -362,13 +362,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -412,16 +412,16 @@ delete a DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -432,10 +432,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -443,7 +443,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_device_taint_rule(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -500,16 +500,16 @@ delete a ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -520,10 +520,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourcePoolStatusRequest pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -531,7 +531,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_resource_pool_status_request(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -588,16 +588,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -608,10 +608,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) try: api_response = api_instance.get_api_resources() @@ -657,16 +657,16 @@ list or watch objects of kind DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -677,16 +677,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -707,10 +707,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -752,16 +752,16 @@ list or watch objects of kind ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -772,16 +772,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -802,10 +802,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -847,16 +847,16 @@ partially update the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -867,10 +867,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -933,16 +933,16 @@ partially update status of the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -953,10 +953,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1019,16 +1019,16 @@ partially update the specified ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1039,10 +1039,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourcePoolStatusRequest body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1105,16 +1105,16 @@ partially update status of the specified ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1125,10 +1125,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourcePoolStatusRequest body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1191,16 +1191,16 @@ read the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1211,10 +1211,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1266,16 +1266,16 @@ read status of the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1286,10 +1286,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1341,16 +1341,16 @@ read the specified ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1361,10 +1361,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourcePoolStatusRequest pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1416,16 +1416,16 @@ read status of the specified ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1436,10 +1436,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourcePoolStatusRequest pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1491,16 +1491,16 @@ replace the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1511,12 +1511,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule -body = kubernetes_asyncio.client.V1alpha3DeviceTaintRule() # V1alpha3DeviceTaintRule | +body = kubernetes.aio.client.V1alpha3DeviceTaintRule() # V1alpha3DeviceTaintRule | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1575,16 +1575,16 @@ replace status of the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1595,12 +1595,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule -body = kubernetes_asyncio.client.V1alpha3DeviceTaintRule() # V1alpha3DeviceTaintRule | +body = kubernetes.aio.client.V1alpha3DeviceTaintRule() # V1alpha3DeviceTaintRule | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1659,16 +1659,16 @@ replace the specified ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1679,12 +1679,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourcePoolStatusRequest -body = kubernetes_asyncio.client.V1alpha3ResourcePoolStatusRequest() # V1alpha3ResourcePoolStatusRequest | +body = kubernetes.aio.client.V1alpha3ResourcePoolStatusRequest() # V1alpha3ResourcePoolStatusRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1743,16 +1743,16 @@ replace status of the specified ResourcePoolStatusRequest ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1763,12 +1763,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1alpha3Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourcePoolStatusRequest -body = kubernetes_asyncio.client.V1alpha3ResourcePoolStatusRequest() # V1alpha3ResourcePoolStatusRequest | +body = kubernetes.aio.client.V1alpha3ResourcePoolStatusRequest() # V1alpha3ResourcePoolStatusRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/ResourceV1beta1Api.md b/kubernetes/aio/docs/ResourceV1beta1Api.md similarity index 82% rename from kubernetes_asyncio/docs/ResourceV1beta1Api.md rename to kubernetes/aio/docs/ResourceV1beta1Api.md index 32bec5ea3a..6d6fa34182 100644 --- a/kubernetes_asyncio/docs/ResourceV1beta1Api.md +++ b/kubernetes/aio/docs/ResourceV1beta1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ResourceV1beta1Api +# kubernetes.aio.client.ResourceV1beta1Api All URIs are relative to *http://localhost* @@ -53,16 +53,16 @@ create a DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -73,11 +73,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1DeviceClass() # V1beta1DeviceClass | + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1DeviceClass() # V1beta1DeviceClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -136,16 +136,16 @@ create a ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -156,12 +156,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1ResourceClaim() # V1beta1ResourceClaim | +body = kubernetes.aio.client.V1beta1ResourceClaim() # V1beta1ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -221,16 +221,16 @@ create a ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -241,12 +241,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1ResourceClaimTemplate() # V1beta1ResourceClaimTemplate | +body = kubernetes.aio.client.V1beta1ResourceClaimTemplate() # V1beta1ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -306,16 +306,16 @@ create a ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -326,11 +326,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1ResourceSlice() # V1beta1ResourceSlice | + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1ResourceSlice() # V1beta1ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -389,16 +389,16 @@ delete collection of DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -409,18 +409,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -428,7 +428,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_device_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -442,13 +442,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -492,16 +492,16 @@ delete collection of ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -512,19 +512,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -532,7 +532,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_resource_claim(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -547,13 +547,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -597,16 +597,16 @@ delete collection of ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -617,19 +617,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -637,7 +637,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_resource_claim_template(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -652,13 +652,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -702,16 +702,16 @@ delete collection of ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -722,18 +722,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -741,7 +741,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_resource_slice(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -755,13 +755,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -805,16 +805,16 @@ delete a DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -825,10 +825,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the DeviceClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -836,7 +836,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_device_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -893,16 +893,16 @@ delete a ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -913,10 +913,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -925,7 +925,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_resource_claim(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -983,16 +983,16 @@ delete a ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1003,10 +1003,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1015,7 +1015,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_resource_claim_template(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1073,16 +1073,16 @@ delete a ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1093,10 +1093,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceSlice pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1104,7 +1104,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_resource_slice(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1161,16 +1161,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1181,10 +1181,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1230,16 +1230,16 @@ list or watch objects of kind DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1250,16 +1250,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1280,10 +1280,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1325,16 +1325,16 @@ list or watch objects of kind ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1345,17 +1345,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1377,10 +1377,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1422,16 +1422,16 @@ list or watch objects of kind ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1442,17 +1442,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1474,10 +1474,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1519,16 +1519,16 @@ list or watch objects of kind ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1539,15 +1539,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1568,10 +1568,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1614,16 +1614,16 @@ list or watch objects of kind ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1634,15 +1634,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1663,10 +1663,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1709,16 +1709,16 @@ list or watch objects of kind ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1729,16 +1729,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1759,10 +1759,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1804,16 +1804,16 @@ partially update the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1824,10 +1824,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the DeviceClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1890,16 +1890,16 @@ partially update the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1910,10 +1910,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1978,16 +1978,16 @@ partially update status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1998,10 +1998,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2066,16 +2066,16 @@ partially update the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2086,10 +2086,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2154,16 +2154,16 @@ partially update the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2174,10 +2174,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceSlice body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2240,16 +2240,16 @@ read the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2260,10 +2260,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the DeviceClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2315,16 +2315,16 @@ read the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2335,10 +2335,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2392,16 +2392,16 @@ read status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2412,10 +2412,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2469,16 +2469,16 @@ read the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2489,10 +2489,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2546,16 +2546,16 @@ read the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2566,10 +2566,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceSlice pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2621,16 +2621,16 @@ replace the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2641,12 +2641,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the DeviceClass -body = kubernetes_asyncio.client.V1beta1DeviceClass() # V1beta1DeviceClass | +body = kubernetes.aio.client.V1beta1DeviceClass() # V1beta1DeviceClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2705,16 +2705,16 @@ replace the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2725,13 +2725,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1ResourceClaim() # V1beta1ResourceClaim | +body = kubernetes.aio.client.V1beta1ResourceClaim() # V1beta1ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2791,16 +2791,16 @@ replace status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2811,13 +2811,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1ResourceClaim() # V1beta1ResourceClaim | +body = kubernetes.aio.client.V1beta1ResourceClaim() # V1beta1ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2877,16 +2877,16 @@ replace the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2897,13 +2897,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta1ResourceClaimTemplate() # V1beta1ResourceClaimTemplate | +body = kubernetes.aio.client.V1beta1ResourceClaimTemplate() # V1beta1ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -2963,16 +2963,16 @@ replace the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2983,12 +2983,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta1Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta1Api(api_client) name = 'name_example' # str | name of the ResourceSlice -body = kubernetes_asyncio.client.V1beta1ResourceSlice() # V1beta1ResourceSlice | +body = kubernetes.aio.client.V1beta1ResourceSlice() # V1beta1ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/ResourceV1beta2Api.md b/kubernetes/aio/docs/ResourceV1beta2Api.md similarity index 82% rename from kubernetes_asyncio/docs/ResourceV1beta2Api.md rename to kubernetes/aio/docs/ResourceV1beta2Api.md index d9b04a6550..e3f75f0d7f 100644 --- a/kubernetes_asyncio/docs/ResourceV1beta2Api.md +++ b/kubernetes/aio/docs/ResourceV1beta2Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.ResourceV1beta2Api +# kubernetes.aio.client.ResourceV1beta2Api All URIs are relative to *http://localhost* @@ -63,16 +63,16 @@ create a DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -83,11 +83,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) - body = kubernetes_asyncio.client.V1beta2DeviceClass() # V1beta2DeviceClass | + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) + body = kubernetes.aio.client.V1beta2DeviceClass() # V1beta2DeviceClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -146,16 +146,16 @@ create a DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -166,11 +166,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) - body = kubernetes_asyncio.client.V1beta2DeviceTaintRule() # V1beta2DeviceTaintRule | + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) + body = kubernetes.aio.client.V1beta2DeviceTaintRule() # V1beta2DeviceTaintRule | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -229,16 +229,16 @@ create a ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -249,12 +249,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta2ResourceClaim() # V1beta2ResourceClaim | +body = kubernetes.aio.client.V1beta2ResourceClaim() # V1beta2ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -314,16 +314,16 @@ create a ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -334,12 +334,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta2ResourceClaimTemplate() # V1beta2ResourceClaimTemplate | +body = kubernetes.aio.client.V1beta2ResourceClaimTemplate() # V1beta2ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -399,16 +399,16 @@ create a ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -419,11 +419,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) - body = kubernetes_asyncio.client.V1beta2ResourceSlice() # V1beta2ResourceSlice | + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) + body = kubernetes.aio.client.V1beta2ResourceSlice() # V1beta2ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -482,16 +482,16 @@ delete collection of DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -502,18 +502,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -521,7 +521,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_device_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -535,13 +535,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -585,16 +585,16 @@ delete collection of DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -605,18 +605,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -624,7 +624,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_device_taint_rule(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -638,13 +638,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -688,16 +688,16 @@ delete collection of ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -708,19 +708,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -728,7 +728,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_resource_claim(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -743,13 +743,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -793,16 +793,16 @@ delete collection of ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -813,19 +813,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -833,7 +833,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_resource_claim_template(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -848,13 +848,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -898,16 +898,16 @@ delete collection of ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -918,18 +918,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -937,7 +937,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_resource_slice(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -951,13 +951,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1001,16 +1001,16 @@ delete a DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1021,10 +1021,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1032,7 +1032,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_device_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1089,16 +1089,16 @@ delete a DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1109,10 +1109,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1120,7 +1120,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_device_taint_rule(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1177,16 +1177,16 @@ delete a ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1197,10 +1197,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1209,7 +1209,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_resource_claim(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1267,16 +1267,16 @@ delete a ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1287,10 +1287,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1299,7 +1299,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_resource_claim_template(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1357,16 +1357,16 @@ delete a ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1377,10 +1377,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceSlice pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1388,7 +1388,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_resource_slice(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1445,16 +1445,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1465,10 +1465,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1514,16 +1514,16 @@ list or watch objects of kind DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1534,16 +1534,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1564,10 +1564,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1609,16 +1609,16 @@ list or watch objects of kind DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1629,16 +1629,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1659,10 +1659,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1704,16 +1704,16 @@ list or watch objects of kind ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1724,17 +1724,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1756,10 +1756,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1801,16 +1801,16 @@ list or watch objects of kind ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1821,17 +1821,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1853,10 +1853,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1898,16 +1898,16 @@ list or watch objects of kind ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1918,15 +1918,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1947,10 +1947,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1993,16 +1993,16 @@ list or watch objects of kind ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2013,15 +2013,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -2042,10 +2042,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -2088,16 +2088,16 @@ list or watch objects of kind ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2108,16 +2108,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2138,10 +2138,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2183,16 +2183,16 @@ partially update the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2203,10 +2203,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2269,16 +2269,16 @@ partially update the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2289,10 +2289,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2355,16 +2355,16 @@ partially update status of the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2375,10 +2375,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2441,16 +2441,16 @@ partially update the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2461,10 +2461,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2529,16 +2529,16 @@ partially update status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2549,10 +2549,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2617,16 +2617,16 @@ partially update the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2637,10 +2637,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2705,16 +2705,16 @@ partially update the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2725,10 +2725,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceSlice body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2791,16 +2791,16 @@ read the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2811,10 +2811,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2866,16 +2866,16 @@ read the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2886,10 +2886,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2941,16 +2941,16 @@ read status of the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2961,10 +2961,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3016,16 +3016,16 @@ read the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3036,10 +3036,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3093,16 +3093,16 @@ read status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3113,10 +3113,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3170,16 +3170,16 @@ read the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3190,10 +3190,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3247,16 +3247,16 @@ read the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3267,10 +3267,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceSlice pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3322,16 +3322,16 @@ replace the specified DeviceClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3342,12 +3342,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceClass -body = kubernetes_asyncio.client.V1beta2DeviceClass() # V1beta2DeviceClass | +body = kubernetes.aio.client.V1beta2DeviceClass() # V1beta2DeviceClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3406,16 +3406,16 @@ replace the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3426,12 +3426,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule -body = kubernetes_asyncio.client.V1beta2DeviceTaintRule() # V1beta2DeviceTaintRule | +body = kubernetes.aio.client.V1beta2DeviceTaintRule() # V1beta2DeviceTaintRule | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3490,16 +3490,16 @@ replace status of the specified DeviceTaintRule ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3510,12 +3510,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the DeviceTaintRule -body = kubernetes_asyncio.client.V1beta2DeviceTaintRule() # V1beta2DeviceTaintRule | +body = kubernetes.aio.client.V1beta2DeviceTaintRule() # V1beta2DeviceTaintRule | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3574,16 +3574,16 @@ replace the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3594,13 +3594,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta2ResourceClaim() # V1beta2ResourceClaim | +body = kubernetes.aio.client.V1beta2ResourceClaim() # V1beta2ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3660,16 +3660,16 @@ replace status of the specified ResourceClaim ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3680,13 +3680,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta2ResourceClaim() # V1beta2ResourceClaim | +body = kubernetes.aio.client.V1beta2ResourceClaim() # V1beta2ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3746,16 +3746,16 @@ replace the specified ResourceClaimTemplate ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3766,13 +3766,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceClaimTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1beta2ResourceClaimTemplate() # V1beta2ResourceClaimTemplate | +body = kubernetes.aio.client.V1beta2ResourceClaimTemplate() # V1beta2ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3832,16 +3832,16 @@ replace the specified ResourceSlice ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3852,12 +3852,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.ResourceV1beta2Api(api_client) + api_instance = kubernetes.aio.client.ResourceV1beta2Api(api_client) name = 'name_example' # str | name of the ResourceSlice -body = kubernetes_asyncio.client.V1beta2ResourceSlice() # V1beta2ResourceSlice | +body = kubernetes.aio.client.V1beta2ResourceSlice() # V1beta2ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/SchedulingApi.md b/kubernetes/aio/docs/SchedulingApi.md similarity index 79% rename from kubernetes_asyncio/docs/SchedulingApi.md rename to kubernetes/aio/docs/SchedulingApi.md index 45aea73f9d..74f5a5ba89 100644 --- a/kubernetes_asyncio/docs/SchedulingApi.md +++ b/kubernetes/aio/docs/SchedulingApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.SchedulingApi +# kubernetes.aio.client.SchedulingApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingApi(api_client) + api_instance = kubernetes.aio.client.SchedulingApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/SchedulingV1Api.md b/kubernetes/aio/docs/SchedulingV1Api.md similarity index 82% rename from kubernetes_asyncio/docs/SchedulingV1Api.md rename to kubernetes/aio/docs/SchedulingV1Api.md index affa60c6e1..79d602894c 100644 --- a/kubernetes_asyncio/docs/SchedulingV1Api.md +++ b/kubernetes/aio/docs/SchedulingV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.SchedulingV1Api +# kubernetes.aio.client.SchedulingV1Api All URIs are relative to *http://localhost* @@ -27,16 +27,16 @@ create a PriorityClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -47,11 +47,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) - body = kubernetes_asyncio.client.V1PriorityClass() # V1PriorityClass | + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) + body = kubernetes.aio.client.V1PriorityClass() # V1PriorityClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -110,16 +110,16 @@ delete collection of PriorityClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -130,18 +130,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -149,7 +149,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_priority_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -163,13 +163,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -213,16 +213,16 @@ delete a PriorityClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -233,10 +233,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) name = 'name_example' # str | name of the PriorityClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -244,7 +244,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_priority_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -301,16 +301,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -321,10 +321,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -370,16 +370,16 @@ list or watch objects of kind PriorityClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -390,16 +390,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -420,10 +420,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -465,16 +465,16 @@ partially update the specified PriorityClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -485,10 +485,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) name = 'name_example' # str | name of the PriorityClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -551,16 +551,16 @@ read the specified PriorityClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -571,10 +571,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) name = 'name_example' # str | name of the PriorityClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -626,16 +626,16 @@ replace the specified PriorityClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -646,12 +646,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1Api(api_client) name = 'name_example' # str | name of the PriorityClass -body = kubernetes_asyncio.client.V1PriorityClass() # V1PriorityClass | +body = kubernetes.aio.client.V1PriorityClass() # V1PriorityClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/SchedulingV1alpha2Api.md b/kubernetes/aio/docs/SchedulingV1alpha2Api.md similarity index 82% rename from kubernetes_asyncio/docs/SchedulingV1alpha2Api.md rename to kubernetes/aio/docs/SchedulingV1alpha2Api.md index f755feac4b..c1248c3939 100644 --- a/kubernetes_asyncio/docs/SchedulingV1alpha2Api.md +++ b/kubernetes/aio/docs/SchedulingV1alpha2Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.SchedulingV1alpha2Api +# kubernetes.aio.client.SchedulingV1alpha2Api All URIs are relative to *http://localhost* @@ -39,16 +39,16 @@ create a PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -59,12 +59,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1alpha2PodGroup() # V1alpha2PodGroup | +body = kubernetes.aio.client.V1alpha2PodGroup() # V1alpha2PodGroup | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -124,16 +124,16 @@ create a Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -144,12 +144,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1alpha2Workload() # V1alpha2Workload | +body = kubernetes.aio.client.V1alpha2Workload() # V1alpha2Workload | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -209,16 +209,16 @@ delete collection of PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -229,19 +229,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -249,7 +249,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_pod_group(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -264,13 +264,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -314,16 +314,16 @@ delete collection of Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -334,19 +334,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -354,7 +354,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_workload(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -369,13 +369,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -419,16 +419,16 @@ delete a PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -439,10 +439,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the PodGroup namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -451,7 +451,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_pod_group(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -509,16 +509,16 @@ delete a Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -529,10 +529,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the Workload namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -541,7 +541,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_workload(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -599,16 +599,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -619,10 +619,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) try: api_response = api_instance.get_api_resources() @@ -668,16 +668,16 @@ list or watch objects of kind PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -688,17 +688,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -720,10 +720,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -765,16 +765,16 @@ list or watch objects of kind Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -785,17 +785,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -817,10 +817,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -862,16 +862,16 @@ list or watch objects of kind PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -882,15 +882,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -911,10 +911,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -957,16 +957,16 @@ list or watch objects of kind Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -977,15 +977,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1006,10 +1006,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1052,16 +1052,16 @@ partially update the specified PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1072,10 +1072,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the PodGroup namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1140,16 +1140,16 @@ partially update status of the specified PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1160,10 +1160,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the PodGroup namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1228,16 +1228,16 @@ partially update the specified Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1248,10 +1248,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the Workload namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -1316,16 +1316,16 @@ read the specified PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1336,10 +1336,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the PodGroup namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1393,16 +1393,16 @@ read status of the specified PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1413,10 +1413,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the PodGroup namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1470,16 +1470,16 @@ read the specified Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1490,10 +1490,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the Workload namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1547,16 +1547,16 @@ replace the specified PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1567,13 +1567,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the PodGroup namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1alpha2PodGroup() # V1alpha2PodGroup | +body = kubernetes.aio.client.V1alpha2PodGroup() # V1alpha2PodGroup | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1633,16 +1633,16 @@ replace status of the specified PodGroup ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1653,13 +1653,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the PodGroup namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1alpha2PodGroup() # V1alpha2PodGroup | +body = kubernetes.aio.client.V1alpha2PodGroup() # V1alpha2PodGroup | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -1719,16 +1719,16 @@ replace the specified Workload ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1739,13 +1739,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.SchedulingV1alpha2Api(api_client) + api_instance = kubernetes.aio.client.SchedulingV1alpha2Api(api_client) name = 'name_example' # str | name of the Workload namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1alpha2Workload() # V1alpha2Workload | +body = kubernetes.aio.client.V1alpha2Workload() # V1alpha2Workload | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/StorageApi.md b/kubernetes/aio/docs/StorageApi.md similarity index 79% rename from kubernetes_asyncio/docs/StorageApi.md rename to kubernetes/aio/docs/StorageApi.md index e3dd3309ab..a565c9e8b2 100644 --- a/kubernetes_asyncio/docs/StorageApi.md +++ b/kubernetes/aio/docs/StorageApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.StorageApi +# kubernetes.aio.client.StorageApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageApi(api_client) + api_instance = kubernetes.aio.client.StorageApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/StorageV1Api.md b/kubernetes/aio/docs/StorageV1Api.md similarity index 82% rename from kubernetes_asyncio/docs/StorageV1Api.md rename to kubernetes/aio/docs/StorageV1Api.md index 78cba19661..1ffdd745a1 100644 --- a/kubernetes_asyncio/docs/StorageV1Api.md +++ b/kubernetes/aio/docs/StorageV1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.StorageV1Api +# kubernetes.aio.client.StorageV1Api All URIs are relative to *http://localhost* @@ -66,16 +66,16 @@ create a CSIDriver ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -86,11 +86,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) - body = kubernetes_asyncio.client.V1CSIDriver() # V1CSIDriver | + api_instance = kubernetes.aio.client.StorageV1Api(api_client) + body = kubernetes.aio.client.V1CSIDriver() # V1CSIDriver | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -149,16 +149,16 @@ create a CSINode ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -169,11 +169,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) - body = kubernetes_asyncio.client.V1CSINode() # V1CSINode | + api_instance = kubernetes.aio.client.StorageV1Api(api_client) + body = kubernetes.aio.client.V1CSINode() # V1CSINode | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -232,16 +232,16 @@ create a CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -252,12 +252,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1CSIStorageCapacity() # V1CSIStorageCapacity | +body = kubernetes.aio.client.V1CSIStorageCapacity() # V1CSIStorageCapacity | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -317,16 +317,16 @@ create a StorageClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -337,11 +337,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) - body = kubernetes_asyncio.client.V1StorageClass() # V1StorageClass | + api_instance = kubernetes.aio.client.StorageV1Api(api_client) + body = kubernetes.aio.client.V1StorageClass() # V1StorageClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -400,16 +400,16 @@ create a VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -420,11 +420,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) - body = kubernetes_asyncio.client.V1VolumeAttachment() # V1VolumeAttachment | + api_instance = kubernetes.aio.client.StorageV1Api(api_client) + body = kubernetes.aio.client.V1VolumeAttachment() # V1VolumeAttachment | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -483,16 +483,16 @@ create a VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -503,11 +503,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) - body = kubernetes_asyncio.client.V1VolumeAttributesClass() # V1VolumeAttributesClass | + api_instance = kubernetes.aio.client.StorageV1Api(api_client) + body = kubernetes.aio.client.V1VolumeAttributesClass() # V1VolumeAttributesClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -566,16 +566,16 @@ delete collection of CSIDriver ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -586,18 +586,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -605,7 +605,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_csi_driver(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -619,13 +619,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -669,16 +669,16 @@ delete collection of CSINode ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -689,18 +689,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -708,7 +708,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_csi_node(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -722,13 +722,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -772,16 +772,16 @@ delete collection of CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -792,19 +792,19 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -812,7 +812,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_namespaced_csi_storage_capacity(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -827,13 +827,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -877,16 +877,16 @@ delete collection of StorageClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -897,18 +897,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -916,7 +916,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_storage_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -930,13 +930,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -980,16 +980,16 @@ delete collection of VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1000,18 +1000,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1019,7 +1019,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_volume_attachment(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -1033,13 +1033,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1083,16 +1083,16 @@ delete collection of VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1103,18 +1103,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -1122,7 +1122,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_volume_attributes_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -1136,13 +1136,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -1186,16 +1186,16 @@ delete a CSIDriver ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1206,10 +1206,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIDriver pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1217,7 +1217,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_csi_driver(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1274,16 +1274,16 @@ delete a CSINode ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1294,10 +1294,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSINode pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1305,7 +1305,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_csi_node(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1362,16 +1362,16 @@ delete a CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1382,10 +1382,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIStorageCapacity namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1394,7 +1394,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_namespaced_csi_storage_capacity(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1452,16 +1452,16 @@ delete a StorageClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1472,10 +1472,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the StorageClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1483,7 +1483,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_storage_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1540,16 +1540,16 @@ delete a VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1560,10 +1560,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttachment pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1571,7 +1571,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_volume_attachment(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1628,16 +1628,16 @@ delete a VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1648,10 +1648,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -1659,7 +1659,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_volume_attributes_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1716,16 +1716,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1736,10 +1736,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -1785,16 +1785,16 @@ list or watch objects of kind CSIDriver ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1805,16 +1805,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1835,10 +1835,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1880,16 +1880,16 @@ list or watch objects of kind CSINode ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1900,16 +1900,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -1930,10 +1930,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -1975,16 +1975,16 @@ list or watch objects of kind CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -1995,15 +1995,15 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -2024,10 +2024,10 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -2070,16 +2070,16 @@ list or watch objects of kind CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2090,17 +2090,17 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2122,10 +2122,10 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2167,16 +2167,16 @@ list or watch objects of kind StorageClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2187,16 +2187,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2217,10 +2217,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2262,16 +2262,16 @@ list or watch objects of kind VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2282,16 +2282,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2312,10 +2312,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2357,16 +2357,16 @@ list or watch objects of kind VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2377,16 +2377,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -2407,10 +2407,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -2452,16 +2452,16 @@ partially update the specified CSIDriver ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2472,10 +2472,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIDriver body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2538,16 +2538,16 @@ partially update the specified CSINode ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2558,10 +2558,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSINode body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2624,16 +2624,16 @@ partially update the specified CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2644,10 +2644,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIStorageCapacity namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2712,16 +2712,16 @@ partially update the specified StorageClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2732,10 +2732,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the StorageClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2798,16 +2798,16 @@ partially update the specified VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2818,10 +2818,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttachment body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2884,16 +2884,16 @@ partially update status of the specified VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2904,10 +2904,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttachment body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2970,16 +2970,16 @@ partially update the specified VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -2990,10 +2990,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3056,16 +3056,16 @@ read the specified CSIDriver ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3076,10 +3076,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIDriver pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3131,16 +3131,16 @@ read the specified CSINode ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3151,10 +3151,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSINode pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3206,16 +3206,16 @@ read the specified CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3226,10 +3226,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIStorageCapacity namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3283,16 +3283,16 @@ read the specified StorageClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3303,10 +3303,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the StorageClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3358,16 +3358,16 @@ read the specified VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3378,10 +3378,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttachment pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3433,16 +3433,16 @@ read status of the specified VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3453,10 +3453,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttachment pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3508,16 +3508,16 @@ read the specified VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3528,10 +3528,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3583,16 +3583,16 @@ replace the specified CSIDriver ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3603,12 +3603,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIDriver -body = kubernetes_asyncio.client.V1CSIDriver() # V1CSIDriver | +body = kubernetes.aio.client.V1CSIDriver() # V1CSIDriver | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3667,16 +3667,16 @@ replace the specified CSINode ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3687,12 +3687,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSINode -body = kubernetes_asyncio.client.V1CSINode() # V1CSINode | +body = kubernetes.aio.client.V1CSINode() # V1CSINode | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3751,16 +3751,16 @@ replace the specified CSIStorageCapacity ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3771,13 +3771,13 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the CSIStorageCapacity namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes_asyncio.client.V1CSIStorageCapacity() # V1CSIStorageCapacity | +body = kubernetes.aio.client.V1CSIStorageCapacity() # V1CSIStorageCapacity | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3837,16 +3837,16 @@ replace the specified StorageClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3857,12 +3857,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the StorageClass -body = kubernetes_asyncio.client.V1StorageClass() # V1StorageClass | +body = kubernetes.aio.client.V1StorageClass() # V1StorageClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -3921,16 +3921,16 @@ replace the specified VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -3941,12 +3941,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttachment -body = kubernetes_asyncio.client.V1VolumeAttachment() # V1VolumeAttachment | +body = kubernetes.aio.client.V1VolumeAttachment() # V1VolumeAttachment | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4005,16 +4005,16 @@ replace status of the specified VolumeAttachment ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4025,12 +4025,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttachment -body = kubernetes_asyncio.client.V1VolumeAttachment() # V1VolumeAttachment | +body = kubernetes.aio.client.V1VolumeAttachment() # V1VolumeAttachment | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4089,16 +4089,16 @@ replace the specified VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -4109,12 +4109,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass -body = kubernetes_asyncio.client.V1VolumeAttributesClass() # V1VolumeAttributesClass | +body = kubernetes.aio.client.V1VolumeAttributesClass() # V1VolumeAttributesClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/StorageV1TokenRequest.md b/kubernetes/aio/docs/StorageV1TokenRequest.md similarity index 100% rename from kubernetes_asyncio/docs/StorageV1TokenRequest.md rename to kubernetes/aio/docs/StorageV1TokenRequest.md diff --git a/kubernetes_asyncio/docs/StorageV1beta1Api.md b/kubernetes/aio/docs/StorageV1beta1Api.md similarity index 82% rename from kubernetes_asyncio/docs/StorageV1beta1Api.md rename to kubernetes/aio/docs/StorageV1beta1Api.md index c5fce17f64..a449c88a57 100644 --- a/kubernetes_asyncio/docs/StorageV1beta1Api.md +++ b/kubernetes/aio/docs/StorageV1beta1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.StorageV1beta1Api +# kubernetes.aio.client.StorageV1beta1Api All URIs are relative to *http://localhost* @@ -27,16 +27,16 @@ create a VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -47,11 +47,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1VolumeAttributesClass() # V1beta1VolumeAttributesClass | + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1VolumeAttributesClass() # V1beta1VolumeAttributesClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -110,16 +110,16 @@ delete collection of VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -130,18 +130,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -149,7 +149,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_volume_attributes_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -163,13 +163,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -213,16 +213,16 @@ delete a VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -233,10 +233,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -244,7 +244,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_volume_attributes_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -301,16 +301,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -321,10 +321,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -370,16 +370,16 @@ list or watch objects of kind VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -390,16 +390,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -420,10 +420,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -465,16 +465,16 @@ partially update the specified VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -485,10 +485,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -551,16 +551,16 @@ read the specified VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -571,10 +571,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -626,16 +626,16 @@ replace the specified VolumeAttributesClass ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -646,12 +646,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StorageV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StorageV1beta1Api(api_client) name = 'name_example' # str | name of the VolumeAttributesClass -body = kubernetes_asyncio.client.V1beta1VolumeAttributesClass() # V1beta1VolumeAttributesClass | +body = kubernetes.aio.client.V1beta1VolumeAttributesClass() # V1beta1VolumeAttributesClass | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/StoragemigrationApi.md b/kubernetes/aio/docs/StoragemigrationApi.md similarity index 79% rename from kubernetes_asyncio/docs/StoragemigrationApi.md rename to kubernetes/aio/docs/StoragemigrationApi.md index 2b16b9116e..a9d384b9ff 100644 --- a/kubernetes_asyncio/docs/StoragemigrationApi.md +++ b/kubernetes/aio/docs/StoragemigrationApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.StoragemigrationApi +# kubernetes.aio.client.StoragemigrationApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get information of a group ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationApi(api_client) + api_instance = kubernetes.aio.client.StoragemigrationApi(api_client) try: api_response = api_instance.get_api_group() diff --git a/kubernetes_asyncio/docs/StoragemigrationV1beta1Api.md b/kubernetes/aio/docs/StoragemigrationV1beta1Api.md similarity index 84% rename from kubernetes_asyncio/docs/StoragemigrationV1beta1Api.md rename to kubernetes/aio/docs/StoragemigrationV1beta1Api.md index d9470988fa..9b9e59f297 100644 --- a/kubernetes_asyncio/docs/StoragemigrationV1beta1Api.md +++ b/kubernetes/aio/docs/StoragemigrationV1beta1Api.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.StoragemigrationV1beta1Api +# kubernetes.aio.client.StoragemigrationV1beta1Api All URIs are relative to *http://localhost* @@ -30,16 +30,16 @@ create a StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -50,11 +50,11 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) - body = kubernetes_asyncio.client.V1beta1StorageVersionMigration() # V1beta1StorageVersionMigration | + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) + body = kubernetes.aio.client.V1beta1StorageVersionMigration() # V1beta1StorageVersionMigration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -113,16 +113,16 @@ delete collection of StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -133,18 +133,18 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) grace_period_seconds = 56 # int | 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. (optional) ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) @@ -152,7 +152,7 @@ resource_version_match = 'resource_version_match_example' # str | resourceVersio send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) shard_selector = 'shard_selector_example' # str | shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') This is an alpha field and requires enabling the ShardedListAndWatch feature gate. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_collection_storage_version_migration(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, shard_selector=shard_selector, timeout_seconds=timeout_seconds, body=body) @@ -166,13 +166,13 @@ body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optiona Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **grace_period_seconds** | **int**| 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] @@ -216,16 +216,16 @@ delete a StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -236,10 +236,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) name = 'name_example' # str | name of the StorageVersionMigration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) @@ -247,7 +247,7 @@ grace_period_seconds = 56 # int | The duration in seconds before the object shou ignore_store_read_error_with_cluster_breaking_potential = True # bool | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) -body = kubernetes_asyncio.client.V1DeleteOptions() # V1DeleteOptions | (optional) +body = kubernetes.aio.client.V1DeleteOptions() # V1DeleteOptions | (optional) try: api_response = api_instance.delete_storage_version_migration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -304,16 +304,16 @@ get available resources ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -324,10 +324,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() @@ -373,16 +373,16 @@ list or watch objects of kind StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -393,16 +393,16 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) -_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) resource_version = 'resource_version_example' # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) @@ -423,10 +423,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] - **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes_asyncio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes_asyncio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes_asyncio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.aio.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.aio.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.aio.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes_asyncio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes_asyncio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes_asyncio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.aio.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.aio.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.aio.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **send_initial_events** | **bool**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] @@ -468,16 +468,16 @@ partially update the specified StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -488,10 +488,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) name = 'name_example' # str | name of the StorageVersionMigration body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -554,16 +554,16 @@ partially update status of the specified StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -574,10 +574,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) name = 'name_example' # str | name of the StorageVersionMigration body = None # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -640,16 +640,16 @@ read the specified StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -660,10 +660,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) name = 'name_example' # str | name of the StorageVersionMigration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -715,16 +715,16 @@ read status of the specified StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -735,10 +735,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) name = 'name_example' # str | name of the StorageVersionMigration pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -790,16 +790,16 @@ replace the specified StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -810,12 +810,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) name = 'name_example' # str | name of the StorageVersionMigration -body = kubernetes_asyncio.client.V1beta1StorageVersionMigration() # V1beta1StorageVersionMigration | +body = kubernetes.aio.client.V1beta1StorageVersionMigration() # V1beta1StorageVersionMigration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -874,16 +874,16 @@ replace status of the specified StorageVersionMigration ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -894,12 +894,12 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.StoragemigrationV1beta1Api(api_client) + api_instance = kubernetes.aio.client.StoragemigrationV1beta1Api(api_client) name = 'name_example' # str | name of the StorageVersionMigration -body = kubernetes_asyncio.client.V1beta1StorageVersionMigration() # V1beta1StorageVersionMigration | +body = kubernetes.aio.client.V1beta1StorageVersionMigration() # V1beta1StorageVersionMigration | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) diff --git a/kubernetes_asyncio/docs/V1APIGroup.md b/kubernetes/aio/docs/V1APIGroup.md similarity index 57% rename from kubernetes_asyncio/docs/V1APIGroup.md rename to kubernetes/aio/docs/V1APIGroup.md index fc388a2774..10797de177 100644 --- a/kubernetes_asyncio/docs/V1APIGroup.md +++ b/kubernetes/aio/docs/V1APIGroup.md @@ -6,10 +6,10 @@ APIGroup contains the name, the supported versions, and the preferred version of Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **name** | **str** | name is the name of the group. | **preferred_version** | [**V1GroupVersionForDiscovery**](V1GroupVersionForDiscovery.md) | | [optional] -**server_address_by_client_cidrs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes_asyncio.client CIDR to server address that is serving this group. This is to help kubernetes_asyncio.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes_asyncio.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes_asyncio.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes_asyncio.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes_asyncio.client IP. | [optional] +**server_address_by_client_cidrs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes.aio.client CIDR to server address that is serving this group. This is to help kubernetes.aio.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.aio.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.aio.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.aio.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.aio.client IP. | [optional] **versions** | [**list[V1GroupVersionForDiscovery]**](V1GroupVersionForDiscovery.md) | versions are the versions supported in this group. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1APIGroupList.md b/kubernetes/aio/docs/V1APIGroupList.md similarity index 72% rename from kubernetes_asyncio/docs/V1APIGroupList.md rename to kubernetes/aio/docs/V1APIGroupList.md index 399996a8c5..d059c80f6f 100644 --- a/kubernetes_asyncio/docs/V1APIGroupList.md +++ b/kubernetes/aio/docs/V1APIGroupList.md @@ -1,13 +1,13 @@ # V1APIGroupList -APIGroupList is a list of APIGroup, to allow kubernetes_asyncio.clients to discover the API at /apis. +APIGroupList is a list of APIGroup, to allow kubernetes.aio.clients to discover the API at /apis. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **groups** | [**list[V1APIGroup]**](V1APIGroup.md) | groups is a list of APIGroup. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1APIResource.md b/kubernetes/aio/docs/V1APIResource.md similarity index 76% rename from kubernetes_asyncio/docs/V1APIResource.md rename to kubernetes/aio/docs/V1APIResource.md index c0470b63a2..89ccd7a781 100644 --- a/kubernetes_asyncio/docs/V1APIResource.md +++ b/kubernetes/aio/docs/V1APIResource.md @@ -11,8 +11,8 @@ Name | Type | Description | Notes **name** | **str** | name is the plural name of the resource. | **namespaced** | **bool** | namespaced indicates if a resource is namespaced or not. | **short_names** | **list[str]** | shortNames is a list of suggested short names of the resource. | [optional] -**singular_name** | **str** | singularName is the singular name of the resource. This allows kubernetes_asyncio.clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. | -**storage_version_hash** | **str** | The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by kubernetes_asyncio.clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. | [optional] +**singular_name** | **str** | singularName is the singular name of the resource. This allows kubernetes.aio.clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. | +**storage_version_hash** | **str** | The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by kubernetes.aio.clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. | [optional] **verbs** | **list[str]** | verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) | **version** | **str** | version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\". | [optional] diff --git a/kubernetes_asyncio/docs/V1APIResourceList.md b/kubernetes/aio/docs/V1APIResourceList.md similarity index 84% rename from kubernetes_asyncio/docs/V1APIResourceList.md rename to kubernetes/aio/docs/V1APIResourceList.md index 5e21657504..e6c464a7a6 100644 --- a/kubernetes_asyncio/docs/V1APIResourceList.md +++ b/kubernetes/aio/docs/V1APIResourceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **group_version** | **str** | groupVersion is the group and version this APIResourceList is for. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **resources** | [**list[V1APIResource]**](V1APIResource.md) | resources contains the name of the resources and if they are namespaced. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1APIService.md b/kubernetes/aio/docs/V1APIService.md similarity index 83% rename from kubernetes_asyncio/docs/V1APIService.md rename to kubernetes/aio/docs/V1APIService.md index 58684ea188..acb41f16c1 100644 --- a/kubernetes_asyncio/docs/V1APIService.md +++ b/kubernetes/aio/docs/V1APIService.md @@ -6,7 +6,7 @@ APIService represents a server for a particular GroupVersion. Name must be \"ver Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1APIServiceSpec**](V1APIServiceSpec.md) | | [optional] **status** | [**V1APIServiceStatus**](V1APIServiceStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1APIServiceCondition.md b/kubernetes/aio/docs/V1APIServiceCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1APIServiceCondition.md rename to kubernetes/aio/docs/V1APIServiceCondition.md diff --git a/kubernetes_asyncio/docs/V1APIServiceList.md b/kubernetes/aio/docs/V1APIServiceList.md similarity index 81% rename from kubernetes_asyncio/docs/V1APIServiceList.md rename to kubernetes/aio/docs/V1APIServiceList.md index f6eec9ae5a..59c45a4329 100644 --- a/kubernetes_asyncio/docs/V1APIServiceList.md +++ b/kubernetes/aio/docs/V1APIServiceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1APIService]**](V1APIService.md) | Items is the list of APIService | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1APIServiceSpec.md b/kubernetes/aio/docs/V1APIServiceSpec.md similarity index 80% rename from kubernetes_asyncio/docs/V1APIServiceSpec.md rename to kubernetes/aio/docs/V1APIServiceSpec.md index c0131a02d4..6c56c002e3 100644 --- a/kubernetes_asyncio/docs/V1APIServiceSpec.md +++ b/kubernetes/aio/docs/V1APIServiceSpec.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. | [optional] **group** | **str** | Group is the API group name this server hosts | [optional] -**group_priority_minimum** | **int** | GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by kubernetes_asyncio.clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | +**group_priority_minimum** | **int** | GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by kubernetes.aio.clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | **insecure_skip_tls_verify** | **bool** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] **service** | [**ApiregistrationV1ServiceReference**](ApiregistrationV1ServiceReference.md) | | [optional] **version** | **str** | Version is the API version this server hosts. For example, \"v1\" | [optional] diff --git a/kubernetes_asyncio/docs/V1APIServiceStatus.md b/kubernetes/aio/docs/V1APIServiceStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1APIServiceStatus.md rename to kubernetes/aio/docs/V1APIServiceStatus.md diff --git a/kubernetes/aio/docs/V1APIVersions.md b/kubernetes/aio/docs/V1APIVersions.md new file mode 100644 index 0000000000..366413b1f7 --- /dev/null +++ b/kubernetes/aio/docs/V1APIVersions.md @@ -0,0 +1,15 @@ +# V1APIVersions + +APIVersions lists the versions that are available, to allow kubernetes.aio.clients to discover the API at /api, which is the root path of the legacy v1 API. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**server_address_by_client_cidrs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes.aio.client CIDR to server address that is serving this group. This is to help kubernetes.aio.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.aio.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.aio.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.aio.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.aio.client IP. | +**versions** | **list[str]** | versions are the api versions that are available. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes_asyncio/docs/V1AWSElasticBlockStoreVolumeSource.md b/kubernetes/aio/docs/V1AWSElasticBlockStoreVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1AWSElasticBlockStoreVolumeSource.md rename to kubernetes/aio/docs/V1AWSElasticBlockStoreVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1Affinity.md b/kubernetes/aio/docs/V1Affinity.md similarity index 100% rename from kubernetes_asyncio/docs/V1Affinity.md rename to kubernetes/aio/docs/V1Affinity.md diff --git a/kubernetes_asyncio/docs/V1AggregationRule.md b/kubernetes/aio/docs/V1AggregationRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1AggregationRule.md rename to kubernetes/aio/docs/V1AggregationRule.md diff --git a/kubernetes_asyncio/docs/V1AllocatedDeviceStatus.md b/kubernetes/aio/docs/V1AllocatedDeviceStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1AllocatedDeviceStatus.md rename to kubernetes/aio/docs/V1AllocatedDeviceStatus.md diff --git a/kubernetes_asyncio/docs/V1AllocationResult.md b/kubernetes/aio/docs/V1AllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1AllocationResult.md rename to kubernetes/aio/docs/V1AllocationResult.md diff --git a/kubernetes_asyncio/docs/V1AppArmorProfile.md b/kubernetes/aio/docs/V1AppArmorProfile.md similarity index 100% rename from kubernetes_asyncio/docs/V1AppArmorProfile.md rename to kubernetes/aio/docs/V1AppArmorProfile.md diff --git a/kubernetes_asyncio/docs/V1ApplyConfiguration.md b/kubernetes/aio/docs/V1ApplyConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1ApplyConfiguration.md rename to kubernetes/aio/docs/V1ApplyConfiguration.md diff --git a/kubernetes_asyncio/docs/V1AttachedVolume.md b/kubernetes/aio/docs/V1AttachedVolume.md similarity index 100% rename from kubernetes_asyncio/docs/V1AttachedVolume.md rename to kubernetes/aio/docs/V1AttachedVolume.md diff --git a/kubernetes_asyncio/docs/V1AuditAnnotation.md b/kubernetes/aio/docs/V1AuditAnnotation.md similarity index 100% rename from kubernetes_asyncio/docs/V1AuditAnnotation.md rename to kubernetes/aio/docs/V1AuditAnnotation.md diff --git a/kubernetes_asyncio/docs/V1AzureDiskVolumeSource.md b/kubernetes/aio/docs/V1AzureDiskVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1AzureDiskVolumeSource.md rename to kubernetes/aio/docs/V1AzureDiskVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1AzureFilePersistentVolumeSource.md b/kubernetes/aio/docs/V1AzureFilePersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1AzureFilePersistentVolumeSource.md rename to kubernetes/aio/docs/V1AzureFilePersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1AzureFileVolumeSource.md b/kubernetes/aio/docs/V1AzureFileVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1AzureFileVolumeSource.md rename to kubernetes/aio/docs/V1AzureFileVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1Binding.md b/kubernetes/aio/docs/V1Binding.md similarity index 81% rename from kubernetes_asyncio/docs/V1Binding.md rename to kubernetes/aio/docs/V1Binding.md index 3d1756f75a..37710a9749 100644 --- a/kubernetes_asyncio/docs/V1Binding.md +++ b/kubernetes/aio/docs/V1Binding.md @@ -6,7 +6,7 @@ Binding ties one object to another; for example, a pod is bound to a node by a s Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **target** | [**V1ObjectReference**](V1ObjectReference.md) | | diff --git a/kubernetes_asyncio/docs/V1BoundObjectReference.md b/kubernetes/aio/docs/V1BoundObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1BoundObjectReference.md rename to kubernetes/aio/docs/V1BoundObjectReference.md diff --git a/kubernetes_asyncio/docs/V1CELDeviceSelector.md b/kubernetes/aio/docs/V1CELDeviceSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1CELDeviceSelector.md rename to kubernetes/aio/docs/V1CELDeviceSelector.md diff --git a/kubernetes_asyncio/docs/V1CSIDriver.md b/kubernetes/aio/docs/V1CSIDriver.md similarity index 84% rename from kubernetes_asyncio/docs/V1CSIDriver.md rename to kubernetes/aio/docs/V1CSIDriver.md index e99e98489e..21a6a3765b 100644 --- a/kubernetes_asyncio/docs/V1CSIDriver.md +++ b/kubernetes/aio/docs/V1CSIDriver.md @@ -6,7 +6,7 @@ CSIDriver captures information about a Container Storage Interface (CSI) volume Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1CSIDriverSpec**](V1CSIDriverSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1CSIDriverList.md b/kubernetes/aio/docs/V1CSIDriverList.md similarity index 81% rename from kubernetes_asyncio/docs/V1CSIDriverList.md rename to kubernetes/aio/docs/V1CSIDriverList.md index 87a48b7cdd..bdc69551eb 100644 --- a/kubernetes_asyncio/docs/V1CSIDriverList.md +++ b/kubernetes/aio/docs/V1CSIDriverList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1CSIDriver]**](V1CSIDriver.md) | items is the list of CSIDriver | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1CSIDriverSpec.md b/kubernetes/aio/docs/V1CSIDriverSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1CSIDriverSpec.md rename to kubernetes/aio/docs/V1CSIDriverSpec.md diff --git a/kubernetes_asyncio/docs/V1CSINode.md b/kubernetes/aio/docs/V1CSINode.md similarity index 87% rename from kubernetes_asyncio/docs/V1CSINode.md rename to kubernetes/aio/docs/V1CSINode.md index 9c2872aadf..62177b26f1 100644 --- a/kubernetes_asyncio/docs/V1CSINode.md +++ b/kubernetes/aio/docs/V1CSINode.md @@ -6,7 +6,7 @@ CSINode holds information about all CSI drivers installed on a node. CSI drivers Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1CSINodeSpec**](V1CSINodeSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1CSINodeDriver.md b/kubernetes/aio/docs/V1CSINodeDriver.md similarity index 100% rename from kubernetes_asyncio/docs/V1CSINodeDriver.md rename to kubernetes/aio/docs/V1CSINodeDriver.md diff --git a/kubernetes_asyncio/docs/V1CSINodeList.md b/kubernetes/aio/docs/V1CSINodeList.md similarity index 81% rename from kubernetes_asyncio/docs/V1CSINodeList.md rename to kubernetes/aio/docs/V1CSINodeList.md index 1a2ac55014..05790280a9 100644 --- a/kubernetes_asyncio/docs/V1CSINodeList.md +++ b/kubernetes/aio/docs/V1CSINodeList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1CSINode]**](V1CSINode.md) | items is the list of CSINode | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1CSINodeSpec.md b/kubernetes/aio/docs/V1CSINodeSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1CSINodeSpec.md rename to kubernetes/aio/docs/V1CSINodeSpec.md diff --git a/kubernetes_asyncio/docs/V1CSIPersistentVolumeSource.md b/kubernetes/aio/docs/V1CSIPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1CSIPersistentVolumeSource.md rename to kubernetes/aio/docs/V1CSIPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1CSIStorageCapacity.md b/kubernetes/aio/docs/V1CSIStorageCapacity.md similarity index 94% rename from kubernetes_asyncio/docs/V1CSIStorageCapacity.md rename to kubernetes/aio/docs/V1CSIStorageCapacity.md index 620ea67175..d956ca33af 100644 --- a/kubernetes_asyncio/docs/V1CSIStorageCapacity.md +++ b/kubernetes/aio/docs/V1CSIStorageCapacity.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **capacity** | **str** | capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **maximum_volume_size** | **str** | maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **node_topology** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1CSIStorageCapacityList.md b/kubernetes/aio/docs/V1CSIStorageCapacityList.md similarity index 82% rename from kubernetes_asyncio/docs/V1CSIStorageCapacityList.md rename to kubernetes/aio/docs/V1CSIStorageCapacityList.md index b66aaf207d..9087d1a108 100644 --- a/kubernetes_asyncio/docs/V1CSIStorageCapacityList.md +++ b/kubernetes/aio/docs/V1CSIStorageCapacityList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1CSIStorageCapacity]**](V1CSIStorageCapacity.md) | items is the list of CSIStorageCapacity objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1CSIVolumeSource.md b/kubernetes/aio/docs/V1CSIVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1CSIVolumeSource.md rename to kubernetes/aio/docs/V1CSIVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1Capabilities.md b/kubernetes/aio/docs/V1Capabilities.md similarity index 100% rename from kubernetes_asyncio/docs/V1Capabilities.md rename to kubernetes/aio/docs/V1Capabilities.md diff --git a/kubernetes_asyncio/docs/V1CapacityRequestPolicy.md b/kubernetes/aio/docs/V1CapacityRequestPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1CapacityRequestPolicy.md rename to kubernetes/aio/docs/V1CapacityRequestPolicy.md diff --git a/kubernetes_asyncio/docs/V1CapacityRequestPolicyRange.md b/kubernetes/aio/docs/V1CapacityRequestPolicyRange.md similarity index 100% rename from kubernetes_asyncio/docs/V1CapacityRequestPolicyRange.md rename to kubernetes/aio/docs/V1CapacityRequestPolicyRange.md diff --git a/kubernetes_asyncio/docs/V1CapacityRequirements.md b/kubernetes/aio/docs/V1CapacityRequirements.md similarity index 100% rename from kubernetes_asyncio/docs/V1CapacityRequirements.md rename to kubernetes/aio/docs/V1CapacityRequirements.md diff --git a/kubernetes_asyncio/docs/V1CephFSPersistentVolumeSource.md b/kubernetes/aio/docs/V1CephFSPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1CephFSPersistentVolumeSource.md rename to kubernetes/aio/docs/V1CephFSPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1CephFSVolumeSource.md b/kubernetes/aio/docs/V1CephFSVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1CephFSVolumeSource.md rename to kubernetes/aio/docs/V1CephFSVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1CertificateSigningRequest.md b/kubernetes/aio/docs/V1CertificateSigningRequest.md similarity index 60% rename from kubernetes_asyncio/docs/V1CertificateSigningRequest.md rename to kubernetes/aio/docs/V1CertificateSigningRequest.md index 7eca3ec2d5..03f31b0fd4 100644 --- a/kubernetes_asyncio/docs/V1CertificateSigningRequest.md +++ b/kubernetes/aio/docs/V1CertificateSigningRequest.md @@ -1,12 +1,12 @@ # V1CertificateSigningRequest -CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. kubernetes_asyncio.client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-kubernetes_asyncio.client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request kubernetes_asyncio.client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-kubernetes_asyncio.client\" signerName), or to obtain certificates from custom non-Kubernetes signers. +CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. kubernetes.aio.client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-kubernetes.aio.client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request kubernetes.aio.client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-kubernetes.aio.client\" signerName), or to obtain certificates from custom non-Kubernetes signers. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1CertificateSigningRequestSpec**](V1CertificateSigningRequestSpec.md) | | **status** | [**V1CertificateSigningRequestStatus**](V1CertificateSigningRequestStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1CertificateSigningRequestCondition.md b/kubernetes/aio/docs/V1CertificateSigningRequestCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1CertificateSigningRequestCondition.md rename to kubernetes/aio/docs/V1CertificateSigningRequestCondition.md diff --git a/kubernetes_asyncio/docs/V1CertificateSigningRequestList.md b/kubernetes/aio/docs/V1CertificateSigningRequestList.md similarity index 83% rename from kubernetes_asyncio/docs/V1CertificateSigningRequestList.md rename to kubernetes/aio/docs/V1CertificateSigningRequestList.md index 6753590891..0d343350eb 100644 --- a/kubernetes_asyncio/docs/V1CertificateSigningRequestList.md +++ b/kubernetes/aio/docs/V1CertificateSigningRequestList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1CertificateSigningRequest]**](V1CertificateSigningRequest.md) | items is a collection of CertificateSigningRequest objects | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/aio/docs/V1CertificateSigningRequestSpec.md b/kubernetes/aio/docs/V1CertificateSigningRequestSpec.md new file mode 100644 index 0000000000..e9405efa1a --- /dev/null +++ b/kubernetes/aio/docs/V1CertificateSigningRequestSpec.md @@ -0,0 +1,19 @@ +# V1CertificateSigningRequestSpec + +CertificateSigningRequestSpec contains the certificate request. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**expiration_seconds** | **int** | expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a kubernetes.aio.client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration. The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager. Certificate signers may not honor this field for various reasons: 1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22) 2. Signer whose configured maximum is shorter than the requested duration 3. Signer whose configured minimum is longer than the requested duration The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. | [optional] +**extra** | **dict[str, list[str]]** | extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] +**groups** | **list[str]** | groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] +**request** | **str** | request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded. | +**signer_name** | **str** | signerName indicates the requested signer, and is a qualified name. List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector. Well-known Kubernetes signers are: 1. \"kubernetes.io/kube-apiserver-kubernetes.aio.client\": issues kubernetes.aio.client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager. 2. \"kubernetes.io/kube-apiserver-kubernetes.aio.client-kubelet\": issues kubernetes.aio.client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers Custom signerNames can also be specified. The signer defines: 1. Trust distribution: how trust (CA bundles) are distributed. 2. Permitted subjects: and behavior when a disallowed subject is requested. 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested. 4. Required, permitted, or forbidden key usages / extended key usages. 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin. 6. Whether or not requests for CA certificates are allowed. | +**uid** | **str** | uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] +**usages** | **list[str]** | usages specifies a set of key usages requested in the issued certificate. Requests for TLS kubernetes.aio.client certificates typically request: \"digital signature\", \"key encipherment\", \"kubernetes.aio.client auth\". Requests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\". Valid values are: \"signing\", \"digital signature\", \"content commitment\", \"key encipherment\", \"key agreement\", \"data encipherment\", \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\", \"server auth\", \"kubernetes.aio.client auth\", \"code signing\", \"email protection\", \"s/mime\", \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\", \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\" | [optional] +**username** | **str** | username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes_asyncio/docs/V1CertificateSigningRequestStatus.md b/kubernetes/aio/docs/V1CertificateSigningRequestStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1CertificateSigningRequestStatus.md rename to kubernetes/aio/docs/V1CertificateSigningRequestStatus.md diff --git a/kubernetes_asyncio/docs/V1CinderPersistentVolumeSource.md b/kubernetes/aio/docs/V1CinderPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1CinderPersistentVolumeSource.md rename to kubernetes/aio/docs/V1CinderPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1CinderVolumeSource.md b/kubernetes/aio/docs/V1CinderVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1CinderVolumeSource.md rename to kubernetes/aio/docs/V1CinderVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ClientIPConfig.md b/kubernetes/aio/docs/V1ClientIPConfig.md similarity index 100% rename from kubernetes_asyncio/docs/V1ClientIPConfig.md rename to kubernetes/aio/docs/V1ClientIPConfig.md diff --git a/kubernetes_asyncio/docs/V1ClusterRole.md b/kubernetes/aio/docs/V1ClusterRole.md similarity index 84% rename from kubernetes_asyncio/docs/V1ClusterRole.md rename to kubernetes/aio/docs/V1ClusterRole.md index 1e92a4f02c..4412dc8526 100644 --- a/kubernetes_asyncio/docs/V1ClusterRole.md +++ b/kubernetes/aio/docs/V1ClusterRole.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aggregation_rule** | [**V1AggregationRule**](V1AggregationRule.md) | | [optional] **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **rules** | [**list[V1PolicyRule]**](V1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole | [optional] diff --git a/kubernetes_asyncio/docs/V1ClusterRoleBinding.md b/kubernetes/aio/docs/V1ClusterRoleBinding.md similarity index 84% rename from kubernetes_asyncio/docs/V1ClusterRoleBinding.md rename to kubernetes/aio/docs/V1ClusterRoleBinding.md index 28131c025b..611946da17 100644 --- a/kubernetes_asyncio/docs/V1ClusterRoleBinding.md +++ b/kubernetes/aio/docs/V1ClusterRoleBinding.md @@ -6,7 +6,7 @@ ClusterRoleBinding references a ClusterRole, but not contain it. It can referen Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **role_ref** | [**V1RoleRef**](V1RoleRef.md) | | **subjects** | [**list[RbacV1Subject]**](RbacV1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes_asyncio/docs/V1ClusterRoleBindingList.md b/kubernetes/aio/docs/V1ClusterRoleBindingList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ClusterRoleBindingList.md rename to kubernetes/aio/docs/V1ClusterRoleBindingList.md index 030780a687..e71633d08b 100644 --- a/kubernetes_asyncio/docs/V1ClusterRoleBindingList.md +++ b/kubernetes/aio/docs/V1ClusterRoleBindingList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ClusterRoleBinding]**](V1ClusterRoleBinding.md) | Items is a list of ClusterRoleBindings | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ClusterRoleList.md b/kubernetes/aio/docs/V1ClusterRoleList.md similarity index 81% rename from kubernetes_asyncio/docs/V1ClusterRoleList.md rename to kubernetes/aio/docs/V1ClusterRoleList.md index 132c25d0f4..40326750d1 100644 --- a/kubernetes_asyncio/docs/V1ClusterRoleList.md +++ b/kubernetes/aio/docs/V1ClusterRoleList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ClusterRole]**](V1ClusterRole.md) | Items is a list of ClusterRoles | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ClusterTrustBundleProjection.md b/kubernetes/aio/docs/V1ClusterTrustBundleProjection.md similarity index 100% rename from kubernetes_asyncio/docs/V1ClusterTrustBundleProjection.md rename to kubernetes/aio/docs/V1ClusterTrustBundleProjection.md diff --git a/kubernetes_asyncio/docs/V1ComponentCondition.md b/kubernetes/aio/docs/V1ComponentCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1ComponentCondition.md rename to kubernetes/aio/docs/V1ComponentCondition.md diff --git a/kubernetes_asyncio/docs/V1ComponentStatus.md b/kubernetes/aio/docs/V1ComponentStatus.md similarity index 83% rename from kubernetes_asyncio/docs/V1ComponentStatus.md rename to kubernetes/aio/docs/V1ComponentStatus.md index 0db38b14c2..f9b922de13 100644 --- a/kubernetes_asyncio/docs/V1ComponentStatus.md +++ b/kubernetes/aio/docs/V1ComponentStatus.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **conditions** | [**list[V1ComponentCondition]**](V1ComponentCondition.md) | List of component conditions observed | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ComponentStatusList.md b/kubernetes/aio/docs/V1ComponentStatusList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ComponentStatusList.md rename to kubernetes/aio/docs/V1ComponentStatusList.md index b2ec623d2b..8bf0c6df56 100644 --- a/kubernetes_asyncio/docs/V1ComponentStatusList.md +++ b/kubernetes/aio/docs/V1ComponentStatusList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ComponentStatus]**](V1ComponentStatus.md) | List of ComponentStatus objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1Condition.md b/kubernetes/aio/docs/V1Condition.md similarity index 100% rename from kubernetes_asyncio/docs/V1Condition.md rename to kubernetes/aio/docs/V1Condition.md diff --git a/kubernetes_asyncio/docs/V1ConfigMap.md b/kubernetes/aio/docs/V1ConfigMap.md similarity index 89% rename from kubernetes_asyncio/docs/V1ConfigMap.md rename to kubernetes/aio/docs/V1ConfigMap.md index 2e1faa1121..ecd7b4bd96 100644 --- a/kubernetes_asyncio/docs/V1ConfigMap.md +++ b/kubernetes/aio/docs/V1ConfigMap.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **binary_data** | **dict[str, str]** | BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. | [optional] **data** | **dict[str, str]** | Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. | [optional] **immutable** | **bool** | Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ConfigMapEnvSource.md b/kubernetes/aio/docs/V1ConfigMapEnvSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ConfigMapEnvSource.md rename to kubernetes/aio/docs/V1ConfigMapEnvSource.md diff --git a/kubernetes_asyncio/docs/V1ConfigMapKeySelector.md b/kubernetes/aio/docs/V1ConfigMapKeySelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1ConfigMapKeySelector.md rename to kubernetes/aio/docs/V1ConfigMapKeySelector.md diff --git a/kubernetes_asyncio/docs/V1ConfigMapList.md b/kubernetes/aio/docs/V1ConfigMapList.md similarity index 81% rename from kubernetes_asyncio/docs/V1ConfigMapList.md rename to kubernetes/aio/docs/V1ConfigMapList.md index 6a1681c18c..1de4520066 100644 --- a/kubernetes_asyncio/docs/V1ConfigMapList.md +++ b/kubernetes/aio/docs/V1ConfigMapList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ConfigMap]**](V1ConfigMap.md) | Items is the list of ConfigMaps. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ConfigMapNodeConfigSource.md b/kubernetes/aio/docs/V1ConfigMapNodeConfigSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ConfigMapNodeConfigSource.md rename to kubernetes/aio/docs/V1ConfigMapNodeConfigSource.md diff --git a/kubernetes_asyncio/docs/V1ConfigMapProjection.md b/kubernetes/aio/docs/V1ConfigMapProjection.md similarity index 100% rename from kubernetes_asyncio/docs/V1ConfigMapProjection.md rename to kubernetes/aio/docs/V1ConfigMapProjection.md diff --git a/kubernetes_asyncio/docs/V1ConfigMapVolumeSource.md b/kubernetes/aio/docs/V1ConfigMapVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ConfigMapVolumeSource.md rename to kubernetes/aio/docs/V1ConfigMapVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1Container.md b/kubernetes/aio/docs/V1Container.md similarity index 96% rename from kubernetes_asyncio/docs/V1Container.md rename to kubernetes/aio/docs/V1Container.md index 7c1d29658b..ebca0db72d 100644 --- a/kubernetes_asyncio/docs/V1Container.md +++ b/kubernetes/aio/docs/V1Container.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes **security_context** | [**V1SecurityContext**](V1SecurityContext.md) | | [optional] **startup_probe** | [**V1Probe**](V1Probe.md) | | [optional] **stdin** | **bool** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] -**stdin_once** | **bool** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first kubernetes_asyncio.client attaches to stdin, and then remains open and accepts data until the kubernetes_asyncio.client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] +**stdin_once** | **bool** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first kubernetes.aio.client attaches to stdin, and then remains open and accepts data until the kubernetes.aio.client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] **termination_message_path** | **str** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional] **termination_message_policy** | **str** | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | [optional] **tty** | **bool** | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | [optional] diff --git a/kubernetes_asyncio/docs/V1ContainerExtendedResourceRequest.md b/kubernetes/aio/docs/V1ContainerExtendedResourceRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerExtendedResourceRequest.md rename to kubernetes/aio/docs/V1ContainerExtendedResourceRequest.md diff --git a/kubernetes_asyncio/docs/V1ContainerImage.md b/kubernetes/aio/docs/V1ContainerImage.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerImage.md rename to kubernetes/aio/docs/V1ContainerImage.md diff --git a/kubernetes_asyncio/docs/V1ContainerPort.md b/kubernetes/aio/docs/V1ContainerPort.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerPort.md rename to kubernetes/aio/docs/V1ContainerPort.md diff --git a/kubernetes_asyncio/docs/V1ContainerResizePolicy.md b/kubernetes/aio/docs/V1ContainerResizePolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerResizePolicy.md rename to kubernetes/aio/docs/V1ContainerResizePolicy.md diff --git a/kubernetes_asyncio/docs/V1ContainerRestartRule.md b/kubernetes/aio/docs/V1ContainerRestartRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerRestartRule.md rename to kubernetes/aio/docs/V1ContainerRestartRule.md diff --git a/kubernetes_asyncio/docs/V1ContainerRestartRuleOnExitCodes.md b/kubernetes/aio/docs/V1ContainerRestartRuleOnExitCodes.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerRestartRuleOnExitCodes.md rename to kubernetes/aio/docs/V1ContainerRestartRuleOnExitCodes.md diff --git a/kubernetes_asyncio/docs/V1ContainerState.md b/kubernetes/aio/docs/V1ContainerState.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerState.md rename to kubernetes/aio/docs/V1ContainerState.md diff --git a/kubernetes_asyncio/docs/V1ContainerStateRunning.md b/kubernetes/aio/docs/V1ContainerStateRunning.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerStateRunning.md rename to kubernetes/aio/docs/V1ContainerStateRunning.md diff --git a/kubernetes_asyncio/docs/V1ContainerStateTerminated.md b/kubernetes/aio/docs/V1ContainerStateTerminated.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerStateTerminated.md rename to kubernetes/aio/docs/V1ContainerStateTerminated.md diff --git a/kubernetes_asyncio/docs/V1ContainerStateWaiting.md b/kubernetes/aio/docs/V1ContainerStateWaiting.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerStateWaiting.md rename to kubernetes/aio/docs/V1ContainerStateWaiting.md diff --git a/kubernetes_asyncio/docs/V1ContainerStatus.md b/kubernetes/aio/docs/V1ContainerStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerStatus.md rename to kubernetes/aio/docs/V1ContainerStatus.md diff --git a/kubernetes_asyncio/docs/V1ContainerUser.md b/kubernetes/aio/docs/V1ContainerUser.md similarity index 100% rename from kubernetes_asyncio/docs/V1ContainerUser.md rename to kubernetes/aio/docs/V1ContainerUser.md diff --git a/kubernetes_asyncio/docs/V1ControllerRevision.md b/kubernetes/aio/docs/V1ControllerRevision.md similarity index 81% rename from kubernetes_asyncio/docs/V1ControllerRevision.md rename to kubernetes/aio/docs/V1ControllerRevision.md index efc673be59..fe5fc763b3 100644 --- a/kubernetes_asyncio/docs/V1ControllerRevision.md +++ b/kubernetes/aio/docs/V1ControllerRevision.md @@ -1,13 +1,13 @@ # V1ControllerRevision -ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and kubernetes_asyncio.clients should not depend on its stability. It is primarily for internal use by controllers. +ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and kubernetes.aio.clients should not depend on its stability. It is primarily for internal use by controllers. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **data** | **object** | Data is the serialized representation of the state. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **revision** | **int** | Revision indicates the revision of the state represented by Data. | diff --git a/kubernetes_asyncio/docs/V1ControllerRevisionList.md b/kubernetes/aio/docs/V1ControllerRevisionList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ControllerRevisionList.md rename to kubernetes/aio/docs/V1ControllerRevisionList.md index fed641ae9a..6b06065f4c 100644 --- a/kubernetes_asyncio/docs/V1ControllerRevisionList.md +++ b/kubernetes/aio/docs/V1ControllerRevisionList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ControllerRevision]**](V1ControllerRevision.md) | Items is the list of ControllerRevisions | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1Counter.md b/kubernetes/aio/docs/V1Counter.md similarity index 100% rename from kubernetes_asyncio/docs/V1Counter.md rename to kubernetes/aio/docs/V1Counter.md diff --git a/kubernetes_asyncio/docs/V1CounterSet.md b/kubernetes/aio/docs/V1CounterSet.md similarity index 100% rename from kubernetes_asyncio/docs/V1CounterSet.md rename to kubernetes/aio/docs/V1CounterSet.md diff --git a/kubernetes_asyncio/docs/V1CronJob.md b/kubernetes/aio/docs/V1CronJob.md similarity index 82% rename from kubernetes_asyncio/docs/V1CronJob.md rename to kubernetes/aio/docs/V1CronJob.md index 55a3f071a7..6a31adb2e2 100644 --- a/kubernetes_asyncio/docs/V1CronJob.md +++ b/kubernetes/aio/docs/V1CronJob.md @@ -6,7 +6,7 @@ CronJob represents the configuration of a single cron job. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1CronJobSpec**](V1CronJobSpec.md) | | **status** | [**V1CronJobStatus**](V1CronJobStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1CronJobList.md b/kubernetes/aio/docs/V1CronJobList.md similarity index 81% rename from kubernetes_asyncio/docs/V1CronJobList.md rename to kubernetes/aio/docs/V1CronJobList.md index 5aecbf8f07..0c196f95be 100644 --- a/kubernetes_asyncio/docs/V1CronJobList.md +++ b/kubernetes/aio/docs/V1CronJobList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1CronJob]**](V1CronJob.md) | items is the list of CronJobs. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1CronJobSpec.md b/kubernetes/aio/docs/V1CronJobSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1CronJobSpec.md rename to kubernetes/aio/docs/V1CronJobSpec.md diff --git a/kubernetes_asyncio/docs/V1CronJobStatus.md b/kubernetes/aio/docs/V1CronJobStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1CronJobStatus.md rename to kubernetes/aio/docs/V1CronJobStatus.md diff --git a/kubernetes_asyncio/docs/V1CrossVersionObjectReference.md b/kubernetes/aio/docs/V1CrossVersionObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1CrossVersionObjectReference.md rename to kubernetes/aio/docs/V1CrossVersionObjectReference.md diff --git a/kubernetes_asyncio/docs/V1CustomResourceColumnDefinition.md b/kubernetes/aio/docs/V1CustomResourceColumnDefinition.md similarity index 85% rename from kubernetes_asyncio/docs/V1CustomResourceColumnDefinition.md rename to kubernetes/aio/docs/V1CustomResourceColumnDefinition.md index b450d20aa9..3b9034be74 100644 --- a/kubernetes_asyncio/docs/V1CustomResourceColumnDefinition.md +++ b/kubernetes/aio/docs/V1CustomResourceColumnDefinition.md @@ -6,7 +6,7 @@ CustomResourceColumnDefinition specifies a column for server side printing. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | description is a human readable description of this column. | [optional] -**format** | **str** | format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in kubernetes_asyncio.clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. | [optional] +**format** | **str** | format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in kubernetes.aio.clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. | [optional] **json_path** | **str** | jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. | **name** | **str** | name is a human readable name for the column. | **priority** | **int** | priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0. | [optional] diff --git a/kubernetes_asyncio/docs/V1CustomResourceConversion.md b/kubernetes/aio/docs/V1CustomResourceConversion.md similarity index 100% rename from kubernetes_asyncio/docs/V1CustomResourceConversion.md rename to kubernetes/aio/docs/V1CustomResourceConversion.md diff --git a/kubernetes_asyncio/docs/V1CustomResourceDefinition.md b/kubernetes/aio/docs/V1CustomResourceDefinition.md similarity index 84% rename from kubernetes_asyncio/docs/V1CustomResourceDefinition.md rename to kubernetes/aio/docs/V1CustomResourceDefinition.md index f118cf228f..22fb1eedce 100644 --- a/kubernetes_asyncio/docs/V1CustomResourceDefinition.md +++ b/kubernetes/aio/docs/V1CustomResourceDefinition.md @@ -6,7 +6,7 @@ CustomResourceDefinition represents a resource that should be exposed on the API Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1CustomResourceDefinitionSpec**](V1CustomResourceDefinitionSpec.md) | | **status** | [**V1CustomResourceDefinitionStatus**](V1CustomResourceDefinitionStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1CustomResourceDefinitionCondition.md b/kubernetes/aio/docs/V1CustomResourceDefinitionCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1CustomResourceDefinitionCondition.md rename to kubernetes/aio/docs/V1CustomResourceDefinitionCondition.md diff --git a/kubernetes_asyncio/docs/V1CustomResourceDefinitionList.md b/kubernetes/aio/docs/V1CustomResourceDefinitionList.md similarity index 82% rename from kubernetes_asyncio/docs/V1CustomResourceDefinitionList.md rename to kubernetes/aio/docs/V1CustomResourceDefinitionList.md index d835548054..cfa2641501 100644 --- a/kubernetes_asyncio/docs/V1CustomResourceDefinitionList.md +++ b/kubernetes/aio/docs/V1CustomResourceDefinitionList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1CustomResourceDefinition]**](V1CustomResourceDefinition.md) | items list individual CustomResourceDefinition objects | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1CustomResourceDefinitionNames.md b/kubernetes/aio/docs/V1CustomResourceDefinitionNames.md similarity index 87% rename from kubernetes_asyncio/docs/V1CustomResourceDefinitionNames.md rename to kubernetes/aio/docs/V1CustomResourceDefinitionNames.md index dc4b40169e..93926d56e4 100644 --- a/kubernetes_asyncio/docs/V1CustomResourceDefinitionNames.md +++ b/kubernetes/aio/docs/V1CustomResourceDefinitionNames.md @@ -5,11 +5,11 @@ CustomResourceDefinitionNames indicates the names to serve this CustomResourceDe ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**categories** | **list[str]** | categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by kubernetes_asyncio.clients to support invocations like `kubectl get all`. | [optional] +**categories** | **list[str]** | categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by kubernetes.aio.clients to support invocations like `kubectl get all`. | [optional] **kind** | **str** | kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. | **list_kind** | **str** | listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\". | [optional] **plural** | **str** | plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase. | -**short_names** | **list[str]** | shortNames are short names for the resource, exposed in API discovery documents, and used by kubernetes_asyncio.clients to support invocations like `kubectl get <shortname>`. It must be all lowercase. | [optional] +**short_names** | **list[str]** | shortNames are short names for the resource, exposed in API discovery documents, and used by kubernetes.aio.clients to support invocations like `kubectl get <shortname>`. It must be all lowercase. | [optional] **singular** | **str** | singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1CustomResourceDefinitionSpec.md b/kubernetes/aio/docs/V1CustomResourceDefinitionSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1CustomResourceDefinitionSpec.md rename to kubernetes/aio/docs/V1CustomResourceDefinitionSpec.md diff --git a/kubernetes_asyncio/docs/V1CustomResourceDefinitionStatus.md b/kubernetes/aio/docs/V1CustomResourceDefinitionStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1CustomResourceDefinitionStatus.md rename to kubernetes/aio/docs/V1CustomResourceDefinitionStatus.md diff --git a/kubernetes_asyncio/docs/V1CustomResourceDefinitionVersion.md b/kubernetes/aio/docs/V1CustomResourceDefinitionVersion.md similarity index 88% rename from kubernetes_asyncio/docs/V1CustomResourceDefinitionVersion.md rename to kubernetes/aio/docs/V1CustomResourceDefinitionVersion.md index e63ac49b09..486cdd4889 100644 --- a/kubernetes_asyncio/docs/V1CustomResourceDefinitionVersion.md +++ b/kubernetes/aio/docs/V1CustomResourceDefinitionVersion.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **additional_printer_columns** | [**list[V1CustomResourceColumnDefinition]**](V1CustomResourceColumnDefinition.md) | additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used. | [optional] **deprecated** | **bool** | deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false. | [optional] -**deprecation_warning** | **str** | deprecationWarning overrides the default warning returned to API kubernetes_asyncio.clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists. | [optional] +**deprecation_warning** | **str** | deprecationWarning overrides the default warning returned to API kubernetes.aio.clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists. | [optional] **name** | **str** | name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true. | **schema** | [**V1CustomResourceValidation**](V1CustomResourceValidation.md) | | [optional] **selectable_fields** | [**list[V1SelectableField]**](V1SelectableField.md) | selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors | [optional] diff --git a/kubernetes_asyncio/docs/V1CustomResourceSubresourceScale.md b/kubernetes/aio/docs/V1CustomResourceSubresourceScale.md similarity index 100% rename from kubernetes_asyncio/docs/V1CustomResourceSubresourceScale.md rename to kubernetes/aio/docs/V1CustomResourceSubresourceScale.md diff --git a/kubernetes_asyncio/docs/V1CustomResourceSubresources.md b/kubernetes/aio/docs/V1CustomResourceSubresources.md similarity index 100% rename from kubernetes_asyncio/docs/V1CustomResourceSubresources.md rename to kubernetes/aio/docs/V1CustomResourceSubresources.md diff --git a/kubernetes_asyncio/docs/V1CustomResourceValidation.md b/kubernetes/aio/docs/V1CustomResourceValidation.md similarity index 100% rename from kubernetes_asyncio/docs/V1CustomResourceValidation.md rename to kubernetes/aio/docs/V1CustomResourceValidation.md diff --git a/kubernetes_asyncio/docs/V1DaemonEndpoint.md b/kubernetes/aio/docs/V1DaemonEndpoint.md similarity index 100% rename from kubernetes_asyncio/docs/V1DaemonEndpoint.md rename to kubernetes/aio/docs/V1DaemonEndpoint.md diff --git a/kubernetes_asyncio/docs/V1DaemonSet.md b/kubernetes/aio/docs/V1DaemonSet.md similarity index 82% rename from kubernetes_asyncio/docs/V1DaemonSet.md rename to kubernetes/aio/docs/V1DaemonSet.md index 338cdc4728..8dcd47453b 100644 --- a/kubernetes_asyncio/docs/V1DaemonSet.md +++ b/kubernetes/aio/docs/V1DaemonSet.md @@ -6,7 +6,7 @@ DaemonSet represents the configuration of a daemon set. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1DaemonSetSpec**](V1DaemonSetSpec.md) | | [optional] **status** | [**V1DaemonSetStatus**](V1DaemonSetStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1DaemonSetCondition.md b/kubernetes/aio/docs/V1DaemonSetCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1DaemonSetCondition.md rename to kubernetes/aio/docs/V1DaemonSetCondition.md diff --git a/kubernetes_asyncio/docs/V1DaemonSetList.md b/kubernetes/aio/docs/V1DaemonSetList.md similarity index 81% rename from kubernetes_asyncio/docs/V1DaemonSetList.md rename to kubernetes/aio/docs/V1DaemonSetList.md index 43f6fe1271..906acbf196 100644 --- a/kubernetes_asyncio/docs/V1DaemonSetList.md +++ b/kubernetes/aio/docs/V1DaemonSetList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1DaemonSet]**](V1DaemonSet.md) | A list of daemon sets. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1DaemonSetSpec.md b/kubernetes/aio/docs/V1DaemonSetSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1DaemonSetSpec.md rename to kubernetes/aio/docs/V1DaemonSetSpec.md diff --git a/kubernetes_asyncio/docs/V1DaemonSetStatus.md b/kubernetes/aio/docs/V1DaemonSetStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1DaemonSetStatus.md rename to kubernetes/aio/docs/V1DaemonSetStatus.md diff --git a/kubernetes_asyncio/docs/V1DaemonSetUpdateStrategy.md b/kubernetes/aio/docs/V1DaemonSetUpdateStrategy.md similarity index 100% rename from kubernetes_asyncio/docs/V1DaemonSetUpdateStrategy.md rename to kubernetes/aio/docs/V1DaemonSetUpdateStrategy.md diff --git a/kubernetes_asyncio/docs/V1DeleteOptions.md b/kubernetes/aio/docs/V1DeleteOptions.md similarity index 93% rename from kubernetes_asyncio/docs/V1DeleteOptions.md rename to kubernetes/aio/docs/V1DeleteOptions.md index 20122b7419..4730616263 100644 --- a/kubernetes_asyncio/docs/V1DeleteOptions.md +++ b/kubernetes/aio/docs/V1DeleteOptions.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **dry_run** | **list[str]** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int** | 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. | [optional] **ignore_store_read_error_with_cluster_breaking_potential** | **bool** | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **orphan_dependents** | **bool** | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **preconditions** | [**V1Preconditions**](V1Preconditions.md) | | [optional] **propagation_policy** | **str** | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] diff --git a/kubernetes_asyncio/docs/V1Deployment.md b/kubernetes/aio/docs/V1Deployment.md similarity index 82% rename from kubernetes_asyncio/docs/V1Deployment.md rename to kubernetes/aio/docs/V1Deployment.md index faeee4591f..548ecdf509 100644 --- a/kubernetes_asyncio/docs/V1Deployment.md +++ b/kubernetes/aio/docs/V1Deployment.md @@ -6,7 +6,7 @@ Deployment enables declarative updates for Pods and ReplicaSets. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1DeploymentSpec**](V1DeploymentSpec.md) | | [optional] **status** | [**V1DeploymentStatus**](V1DeploymentStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1DeploymentCondition.md b/kubernetes/aio/docs/V1DeploymentCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeploymentCondition.md rename to kubernetes/aio/docs/V1DeploymentCondition.md diff --git a/kubernetes_asyncio/docs/V1DeploymentList.md b/kubernetes/aio/docs/V1DeploymentList.md similarity index 81% rename from kubernetes_asyncio/docs/V1DeploymentList.md rename to kubernetes/aio/docs/V1DeploymentList.md index e3a1e7b890..feac3e4e0b 100644 --- a/kubernetes_asyncio/docs/V1DeploymentList.md +++ b/kubernetes/aio/docs/V1DeploymentList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Deployment]**](V1Deployment.md) | Items is the list of Deployments. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1DeploymentSpec.md b/kubernetes/aio/docs/V1DeploymentSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeploymentSpec.md rename to kubernetes/aio/docs/V1DeploymentSpec.md diff --git a/kubernetes_asyncio/docs/V1DeploymentStatus.md b/kubernetes/aio/docs/V1DeploymentStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeploymentStatus.md rename to kubernetes/aio/docs/V1DeploymentStatus.md diff --git a/kubernetes_asyncio/docs/V1DeploymentStrategy.md b/kubernetes/aio/docs/V1DeploymentStrategy.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeploymentStrategy.md rename to kubernetes/aio/docs/V1DeploymentStrategy.md diff --git a/kubernetes_asyncio/docs/V1Device.md b/kubernetes/aio/docs/V1Device.md similarity index 100% rename from kubernetes_asyncio/docs/V1Device.md rename to kubernetes/aio/docs/V1Device.md diff --git a/kubernetes_asyncio/docs/V1DeviceAllocationConfiguration.md b/kubernetes/aio/docs/V1DeviceAllocationConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceAllocationConfiguration.md rename to kubernetes/aio/docs/V1DeviceAllocationConfiguration.md diff --git a/kubernetes_asyncio/docs/V1DeviceAllocationResult.md b/kubernetes/aio/docs/V1DeviceAllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceAllocationResult.md rename to kubernetes/aio/docs/V1DeviceAllocationResult.md diff --git a/kubernetes_asyncio/docs/V1DeviceAttribute.md b/kubernetes/aio/docs/V1DeviceAttribute.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceAttribute.md rename to kubernetes/aio/docs/V1DeviceAttribute.md diff --git a/kubernetes_asyncio/docs/V1DeviceCapacity.md b/kubernetes/aio/docs/V1DeviceCapacity.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceCapacity.md rename to kubernetes/aio/docs/V1DeviceCapacity.md diff --git a/kubernetes_asyncio/docs/V1DeviceClaim.md b/kubernetes/aio/docs/V1DeviceClaim.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceClaim.md rename to kubernetes/aio/docs/V1DeviceClaim.md diff --git a/kubernetes_asyncio/docs/V1DeviceClaimConfiguration.md b/kubernetes/aio/docs/V1DeviceClaimConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceClaimConfiguration.md rename to kubernetes/aio/docs/V1DeviceClaimConfiguration.md diff --git a/kubernetes_asyncio/docs/V1DeviceClass.md b/kubernetes/aio/docs/V1DeviceClass.md similarity index 83% rename from kubernetes_asyncio/docs/V1DeviceClass.md rename to kubernetes/aio/docs/V1DeviceClass.md index 2f48374cf4..1365e4c820 100644 --- a/kubernetes_asyncio/docs/V1DeviceClass.md +++ b/kubernetes/aio/docs/V1DeviceClass.md @@ -6,7 +6,7 @@ DeviceClass is a vendor- or admin-provided resource that contains device configu Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1DeviceClassSpec**](V1DeviceClassSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1DeviceClassConfiguration.md b/kubernetes/aio/docs/V1DeviceClassConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceClassConfiguration.md rename to kubernetes/aio/docs/V1DeviceClassConfiguration.md diff --git a/kubernetes_asyncio/docs/V1DeviceClassList.md b/kubernetes/aio/docs/V1DeviceClassList.md similarity index 81% rename from kubernetes_asyncio/docs/V1DeviceClassList.md rename to kubernetes/aio/docs/V1DeviceClassList.md index 3821104344..9c87b9a7c3 100644 --- a/kubernetes_asyncio/docs/V1DeviceClassList.md +++ b/kubernetes/aio/docs/V1DeviceClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1DeviceClass]**](V1DeviceClass.md) | Items is the list of resource classes. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1DeviceClassSpec.md b/kubernetes/aio/docs/V1DeviceClassSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceClassSpec.md rename to kubernetes/aio/docs/V1DeviceClassSpec.md diff --git a/kubernetes_asyncio/docs/V1DeviceConstraint.md b/kubernetes/aio/docs/V1DeviceConstraint.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceConstraint.md rename to kubernetes/aio/docs/V1DeviceConstraint.md diff --git a/kubernetes_asyncio/docs/V1DeviceCounterConsumption.md b/kubernetes/aio/docs/V1DeviceCounterConsumption.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceCounterConsumption.md rename to kubernetes/aio/docs/V1DeviceCounterConsumption.md diff --git a/kubernetes_asyncio/docs/V1DeviceRequest.md b/kubernetes/aio/docs/V1DeviceRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceRequest.md rename to kubernetes/aio/docs/V1DeviceRequest.md diff --git a/kubernetes_asyncio/docs/V1DeviceRequestAllocationResult.md b/kubernetes/aio/docs/V1DeviceRequestAllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceRequestAllocationResult.md rename to kubernetes/aio/docs/V1DeviceRequestAllocationResult.md diff --git a/kubernetes_asyncio/docs/V1DeviceSelector.md b/kubernetes/aio/docs/V1DeviceSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceSelector.md rename to kubernetes/aio/docs/V1DeviceSelector.md diff --git a/kubernetes_asyncio/docs/V1DeviceSubRequest.md b/kubernetes/aio/docs/V1DeviceSubRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceSubRequest.md rename to kubernetes/aio/docs/V1DeviceSubRequest.md diff --git a/kubernetes_asyncio/docs/V1DeviceTaint.md b/kubernetes/aio/docs/V1DeviceTaint.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceTaint.md rename to kubernetes/aio/docs/V1DeviceTaint.md diff --git a/kubernetes_asyncio/docs/V1DeviceToleration.md b/kubernetes/aio/docs/V1DeviceToleration.md similarity index 100% rename from kubernetes_asyncio/docs/V1DeviceToleration.md rename to kubernetes/aio/docs/V1DeviceToleration.md diff --git a/kubernetes_asyncio/docs/V1DownwardAPIProjection.md b/kubernetes/aio/docs/V1DownwardAPIProjection.md similarity index 100% rename from kubernetes_asyncio/docs/V1DownwardAPIProjection.md rename to kubernetes/aio/docs/V1DownwardAPIProjection.md diff --git a/kubernetes_asyncio/docs/V1DownwardAPIVolumeFile.md b/kubernetes/aio/docs/V1DownwardAPIVolumeFile.md similarity index 100% rename from kubernetes_asyncio/docs/V1DownwardAPIVolumeFile.md rename to kubernetes/aio/docs/V1DownwardAPIVolumeFile.md diff --git a/kubernetes_asyncio/docs/V1DownwardAPIVolumeSource.md b/kubernetes/aio/docs/V1DownwardAPIVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1DownwardAPIVolumeSource.md rename to kubernetes/aio/docs/V1DownwardAPIVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1EmptyDirVolumeSource.md b/kubernetes/aio/docs/V1EmptyDirVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1EmptyDirVolumeSource.md rename to kubernetes/aio/docs/V1EmptyDirVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1Endpoint.md b/kubernetes/aio/docs/V1Endpoint.md similarity index 100% rename from kubernetes_asyncio/docs/V1Endpoint.md rename to kubernetes/aio/docs/V1Endpoint.md diff --git a/kubernetes_asyncio/docs/V1EndpointAddress.md b/kubernetes/aio/docs/V1EndpointAddress.md similarity index 100% rename from kubernetes_asyncio/docs/V1EndpointAddress.md rename to kubernetes/aio/docs/V1EndpointAddress.md diff --git a/kubernetes_asyncio/docs/V1EndpointConditions.md b/kubernetes/aio/docs/V1EndpointConditions.md similarity index 100% rename from kubernetes_asyncio/docs/V1EndpointConditions.md rename to kubernetes/aio/docs/V1EndpointConditions.md diff --git a/kubernetes_asyncio/docs/V1EndpointHints.md b/kubernetes/aio/docs/V1EndpointHints.md similarity index 100% rename from kubernetes_asyncio/docs/V1EndpointHints.md rename to kubernetes/aio/docs/V1EndpointHints.md diff --git a/kubernetes_asyncio/docs/V1EndpointSlice.md b/kubernetes/aio/docs/V1EndpointSlice.md similarity index 92% rename from kubernetes_asyncio/docs/V1EndpointSlice.md rename to kubernetes/aio/docs/V1EndpointSlice.md index 11fd433448..a6c02243df 100644 --- a/kubernetes_asyncio/docs/V1EndpointSlice.md +++ b/kubernetes/aio/docs/V1EndpointSlice.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **address_type** | **str** | addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type. | **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **endpoints** | [**list[V1Endpoint]**](V1Endpoint.md) | endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **ports** | [**list[DiscoveryV1EndpointPort]**](DiscoveryV1EndpointPort.md) | ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list. | [optional] diff --git a/kubernetes_asyncio/docs/V1EndpointSliceList.md b/kubernetes/aio/docs/V1EndpointSliceList.md similarity index 81% rename from kubernetes_asyncio/docs/V1EndpointSliceList.md rename to kubernetes/aio/docs/V1EndpointSliceList.md index d064d5853e..1418d5fbda 100644 --- a/kubernetes_asyncio/docs/V1EndpointSliceList.md +++ b/kubernetes/aio/docs/V1EndpointSliceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1EndpointSlice]**](V1EndpointSlice.md) | items is the list of endpoint slices | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1EndpointSubset.md b/kubernetes/aio/docs/V1EndpointSubset.md similarity index 95% rename from kubernetes_asyncio/docs/V1EndpointSubset.md rename to kubernetes/aio/docs/V1EndpointSubset.md index 7f2f4d780c..fdb956511e 100644 --- a/kubernetes_asyncio/docs/V1EndpointSubset.md +++ b/kubernetes/aio/docs/V1EndpointSubset.md @@ -5,7 +5,7 @@ EndpointSubset is a group of addresses with a common set of ports. The expanded ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**addresses** | [**list[V1EndpointAddress]**](V1EndpointAddress.md) | IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and kubernetes_asyncio.clients to utilize. | [optional] +**addresses** | [**list[V1EndpointAddress]**](V1EndpointAddress.md) | IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and kubernetes.aio.clients to utilize. | [optional] **not_ready_addresses** | [**list[V1EndpointAddress]**](V1EndpointAddress.md) | IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. | [optional] **ports** | [**list[CoreV1EndpointPort]**](CoreV1EndpointPort.md) | Port numbers available on the related IP addresses. | [optional] diff --git a/kubernetes_asyncio/docs/V1Endpoints.md b/kubernetes/aio/docs/V1Endpoints.md similarity index 90% rename from kubernetes_asyncio/docs/V1Endpoints.md rename to kubernetes/aio/docs/V1Endpoints.md index b58b22253d..d98d746c2e 100644 --- a/kubernetes_asyncio/docs/V1Endpoints.md +++ b/kubernetes/aio/docs/V1Endpoints.md @@ -6,7 +6,7 @@ Endpoints is a collection of endpoints that implement the actual service. Exampl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **subsets** | [**list[V1EndpointSubset]**](V1EndpointSubset.md) | The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. | [optional] diff --git a/kubernetes_asyncio/docs/V1EndpointsList.md b/kubernetes/aio/docs/V1EndpointsList.md similarity index 81% rename from kubernetes_asyncio/docs/V1EndpointsList.md rename to kubernetes/aio/docs/V1EndpointsList.md index ad04210109..fbdd31b963 100644 --- a/kubernetes_asyncio/docs/V1EndpointsList.md +++ b/kubernetes/aio/docs/V1EndpointsList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Endpoints]**](V1Endpoints.md) | List of endpoints. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1EnvFromSource.md b/kubernetes/aio/docs/V1EnvFromSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1EnvFromSource.md rename to kubernetes/aio/docs/V1EnvFromSource.md diff --git a/kubernetes_asyncio/docs/V1EnvVar.md b/kubernetes/aio/docs/V1EnvVar.md similarity index 100% rename from kubernetes_asyncio/docs/V1EnvVar.md rename to kubernetes/aio/docs/V1EnvVar.md diff --git a/kubernetes_asyncio/docs/V1EnvVarSource.md b/kubernetes/aio/docs/V1EnvVarSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1EnvVarSource.md rename to kubernetes/aio/docs/V1EnvVarSource.md diff --git a/kubernetes_asyncio/docs/V1EphemeralContainer.md b/kubernetes/aio/docs/V1EphemeralContainer.md similarity index 95% rename from kubernetes_asyncio/docs/V1EphemeralContainer.md rename to kubernetes/aio/docs/V1EphemeralContainer.md index 43746d993c..3b966ec65a 100644 --- a/kubernetes_asyncio/docs/V1EphemeralContainer.md +++ b/kubernetes/aio/docs/V1EphemeralContainer.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes **security_context** | [**V1SecurityContext**](V1SecurityContext.md) | | [optional] **startup_probe** | [**V1Probe**](V1Probe.md) | | [optional] **stdin** | **bool** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] -**stdin_once** | **bool** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first kubernetes_asyncio.client attaches to stdin, and then remains open and accepts data until the kubernetes_asyncio.client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] +**stdin_once** | **bool** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first kubernetes.aio.client attaches to stdin, and then remains open and accepts data until the kubernetes.aio.client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] **target_container_name** | **str** | If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined. | [optional] **termination_message_path** | **str** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional] **termination_message_policy** | **str** | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | [optional] diff --git a/kubernetes_asyncio/docs/V1EphemeralVolumeSource.md b/kubernetes/aio/docs/V1EphemeralVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1EphemeralVolumeSource.md rename to kubernetes/aio/docs/V1EphemeralVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1EventSource.md b/kubernetes/aio/docs/V1EventSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1EventSource.md rename to kubernetes/aio/docs/V1EventSource.md diff --git a/kubernetes_asyncio/docs/V1Eviction.md b/kubernetes/aio/docs/V1Eviction.md similarity index 83% rename from kubernetes_asyncio/docs/V1Eviction.md rename to kubernetes/aio/docs/V1Eviction.md index 2c1616b002..fbb148ccdc 100644 --- a/kubernetes_asyncio/docs/V1Eviction.md +++ b/kubernetes/aio/docs/V1Eviction.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **delete_options** | [**V1DeleteOptions**](V1DeleteOptions.md) | | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ExactDeviceRequest.md b/kubernetes/aio/docs/V1ExactDeviceRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1ExactDeviceRequest.md rename to kubernetes/aio/docs/V1ExactDeviceRequest.md diff --git a/kubernetes_asyncio/docs/V1ExecAction.md b/kubernetes/aio/docs/V1ExecAction.md similarity index 100% rename from kubernetes_asyncio/docs/V1ExecAction.md rename to kubernetes/aio/docs/V1ExecAction.md diff --git a/kubernetes_asyncio/docs/V1ExemptPriorityLevelConfiguration.md b/kubernetes/aio/docs/V1ExemptPriorityLevelConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1ExemptPriorityLevelConfiguration.md rename to kubernetes/aio/docs/V1ExemptPriorityLevelConfiguration.md diff --git a/kubernetes_asyncio/docs/V1ExpressionWarning.md b/kubernetes/aio/docs/V1ExpressionWarning.md similarity index 100% rename from kubernetes_asyncio/docs/V1ExpressionWarning.md rename to kubernetes/aio/docs/V1ExpressionWarning.md diff --git a/kubernetes_asyncio/docs/V1ExternalDocumentation.md b/kubernetes/aio/docs/V1ExternalDocumentation.md similarity index 100% rename from kubernetes_asyncio/docs/V1ExternalDocumentation.md rename to kubernetes/aio/docs/V1ExternalDocumentation.md diff --git a/kubernetes_asyncio/docs/V1FCVolumeSource.md b/kubernetes/aio/docs/V1FCVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1FCVolumeSource.md rename to kubernetes/aio/docs/V1FCVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1FieldSelectorAttributes.md b/kubernetes/aio/docs/V1FieldSelectorAttributes.md similarity index 100% rename from kubernetes_asyncio/docs/V1FieldSelectorAttributes.md rename to kubernetes/aio/docs/V1FieldSelectorAttributes.md diff --git a/kubernetes_asyncio/docs/V1FieldSelectorRequirement.md b/kubernetes/aio/docs/V1FieldSelectorRequirement.md similarity index 100% rename from kubernetes_asyncio/docs/V1FieldSelectorRequirement.md rename to kubernetes/aio/docs/V1FieldSelectorRequirement.md diff --git a/kubernetes_asyncio/docs/V1FileKeySelector.md b/kubernetes/aio/docs/V1FileKeySelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1FileKeySelector.md rename to kubernetes/aio/docs/V1FileKeySelector.md diff --git a/kubernetes_asyncio/docs/V1FlexPersistentVolumeSource.md b/kubernetes/aio/docs/V1FlexPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1FlexPersistentVolumeSource.md rename to kubernetes/aio/docs/V1FlexPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1FlexVolumeSource.md b/kubernetes/aio/docs/V1FlexVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1FlexVolumeSource.md rename to kubernetes/aio/docs/V1FlexVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1FlockerVolumeSource.md b/kubernetes/aio/docs/V1FlockerVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1FlockerVolumeSource.md rename to kubernetes/aio/docs/V1FlockerVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1FlowDistinguisherMethod.md b/kubernetes/aio/docs/V1FlowDistinguisherMethod.md similarity index 100% rename from kubernetes_asyncio/docs/V1FlowDistinguisherMethod.md rename to kubernetes/aio/docs/V1FlowDistinguisherMethod.md diff --git a/kubernetes_asyncio/docs/V1FlowSchema.md b/kubernetes/aio/docs/V1FlowSchema.md similarity index 84% rename from kubernetes_asyncio/docs/V1FlowSchema.md rename to kubernetes/aio/docs/V1FlowSchema.md index c85b1af3eb..534243a452 100644 --- a/kubernetes_asyncio/docs/V1FlowSchema.md +++ b/kubernetes/aio/docs/V1FlowSchema.md @@ -6,7 +6,7 @@ FlowSchema defines the schema of a group of flows. Note that a flow is made up o Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1FlowSchemaSpec**](V1FlowSchemaSpec.md) | | [optional] **status** | [**V1FlowSchemaStatus**](V1FlowSchemaStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1FlowSchemaCondition.md b/kubernetes/aio/docs/V1FlowSchemaCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1FlowSchemaCondition.md rename to kubernetes/aio/docs/V1FlowSchemaCondition.md diff --git a/kubernetes_asyncio/docs/V1FlowSchemaList.md b/kubernetes/aio/docs/V1FlowSchemaList.md similarity index 81% rename from kubernetes_asyncio/docs/V1FlowSchemaList.md rename to kubernetes/aio/docs/V1FlowSchemaList.md index c6a9a6bc21..b59c7a52bc 100644 --- a/kubernetes_asyncio/docs/V1FlowSchemaList.md +++ b/kubernetes/aio/docs/V1FlowSchemaList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1FlowSchema]**](V1FlowSchema.md) | `items` is a list of FlowSchemas. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1FlowSchemaSpec.md b/kubernetes/aio/docs/V1FlowSchemaSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1FlowSchemaSpec.md rename to kubernetes/aio/docs/V1FlowSchemaSpec.md diff --git a/kubernetes_asyncio/docs/V1FlowSchemaStatus.md b/kubernetes/aio/docs/V1FlowSchemaStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1FlowSchemaStatus.md rename to kubernetes/aio/docs/V1FlowSchemaStatus.md diff --git a/kubernetes_asyncio/docs/V1ForNode.md b/kubernetes/aio/docs/V1ForNode.md similarity index 100% rename from kubernetes_asyncio/docs/V1ForNode.md rename to kubernetes/aio/docs/V1ForNode.md diff --git a/kubernetes_asyncio/docs/V1ForZone.md b/kubernetes/aio/docs/V1ForZone.md similarity index 100% rename from kubernetes_asyncio/docs/V1ForZone.md rename to kubernetes/aio/docs/V1ForZone.md diff --git a/kubernetes_asyncio/docs/V1GCEPersistentDiskVolumeSource.md b/kubernetes/aio/docs/V1GCEPersistentDiskVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1GCEPersistentDiskVolumeSource.md rename to kubernetes/aio/docs/V1GCEPersistentDiskVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1GRPCAction.md b/kubernetes/aio/docs/V1GRPCAction.md similarity index 100% rename from kubernetes_asyncio/docs/V1GRPCAction.md rename to kubernetes/aio/docs/V1GRPCAction.md diff --git a/kubernetes_asyncio/docs/V1GitRepoVolumeSource.md b/kubernetes/aio/docs/V1GitRepoVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1GitRepoVolumeSource.md rename to kubernetes/aio/docs/V1GitRepoVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1GlusterfsPersistentVolumeSource.md b/kubernetes/aio/docs/V1GlusterfsPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1GlusterfsPersistentVolumeSource.md rename to kubernetes/aio/docs/V1GlusterfsPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1GlusterfsVolumeSource.md b/kubernetes/aio/docs/V1GlusterfsVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1GlusterfsVolumeSource.md rename to kubernetes/aio/docs/V1GlusterfsVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1GroupResource.md b/kubernetes/aio/docs/V1GroupResource.md similarity index 100% rename from kubernetes_asyncio/docs/V1GroupResource.md rename to kubernetes/aio/docs/V1GroupResource.md diff --git a/kubernetes_asyncio/docs/V1GroupSubject.md b/kubernetes/aio/docs/V1GroupSubject.md similarity index 100% rename from kubernetes_asyncio/docs/V1GroupSubject.md rename to kubernetes/aio/docs/V1GroupSubject.md diff --git a/kubernetes_asyncio/docs/V1GroupVersionForDiscovery.md b/kubernetes/aio/docs/V1GroupVersionForDiscovery.md similarity index 83% rename from kubernetes_asyncio/docs/V1GroupVersionForDiscovery.md rename to kubernetes/aio/docs/V1GroupVersionForDiscovery.md index 05effc5392..38e42aaa22 100644 --- a/kubernetes_asyncio/docs/V1GroupVersionForDiscovery.md +++ b/kubernetes/aio/docs/V1GroupVersionForDiscovery.md @@ -6,7 +6,7 @@ GroupVersion contains the \"group/version\" and \"version\" string of a version. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **group_version** | **str** | groupVersion specifies the API group and version in the form \"group/version\" | -**version** | **str** | version specifies the version in the form of \"version\". This is to save the kubernetes_asyncio.clients the trouble of splitting the GroupVersion. | +**version** | **str** | version specifies the version in the form of \"version\". This is to save the kubernetes.aio.clients the trouble of splitting the GroupVersion. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1HTTPGetAction.md b/kubernetes/aio/docs/V1HTTPGetAction.md similarity index 100% rename from kubernetes_asyncio/docs/V1HTTPGetAction.md rename to kubernetes/aio/docs/V1HTTPGetAction.md diff --git a/kubernetes_asyncio/docs/V1HTTPHeader.md b/kubernetes/aio/docs/V1HTTPHeader.md similarity index 100% rename from kubernetes_asyncio/docs/V1HTTPHeader.md rename to kubernetes/aio/docs/V1HTTPHeader.md diff --git a/kubernetes_asyncio/docs/V1HTTPIngressPath.md b/kubernetes/aio/docs/V1HTTPIngressPath.md similarity index 100% rename from kubernetes_asyncio/docs/V1HTTPIngressPath.md rename to kubernetes/aio/docs/V1HTTPIngressPath.md diff --git a/kubernetes_asyncio/docs/V1HTTPIngressRuleValue.md b/kubernetes/aio/docs/V1HTTPIngressRuleValue.md similarity index 100% rename from kubernetes_asyncio/docs/V1HTTPIngressRuleValue.md rename to kubernetes/aio/docs/V1HTTPIngressRuleValue.md diff --git a/kubernetes_asyncio/docs/V1HorizontalPodAutoscaler.md b/kubernetes/aio/docs/V1HorizontalPodAutoscaler.md similarity index 83% rename from kubernetes_asyncio/docs/V1HorizontalPodAutoscaler.md rename to kubernetes/aio/docs/V1HorizontalPodAutoscaler.md index 9b473cedae..510ef7a8c1 100644 --- a/kubernetes_asyncio/docs/V1HorizontalPodAutoscaler.md +++ b/kubernetes/aio/docs/V1HorizontalPodAutoscaler.md @@ -6,7 +6,7 @@ configuration of a horizontal pod autoscaler. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1HorizontalPodAutoscalerSpec**](V1HorizontalPodAutoscalerSpec.md) | | **status** | [**V1HorizontalPodAutoscalerStatus**](V1HorizontalPodAutoscalerStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1HorizontalPodAutoscalerList.md b/kubernetes/aio/docs/V1HorizontalPodAutoscalerList.md similarity index 82% rename from kubernetes_asyncio/docs/V1HorizontalPodAutoscalerList.md rename to kubernetes/aio/docs/V1HorizontalPodAutoscalerList.md index 7327c60aa6..26548ebc4e 100644 --- a/kubernetes_asyncio/docs/V1HorizontalPodAutoscalerList.md +++ b/kubernetes/aio/docs/V1HorizontalPodAutoscalerList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1HorizontalPodAutoscaler]**](V1HorizontalPodAutoscaler.md) | items is the list of horizontal pod autoscaler objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1HorizontalPodAutoscalerSpec.md b/kubernetes/aio/docs/V1HorizontalPodAutoscalerSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1HorizontalPodAutoscalerSpec.md rename to kubernetes/aio/docs/V1HorizontalPodAutoscalerSpec.md diff --git a/kubernetes_asyncio/docs/V1HorizontalPodAutoscalerStatus.md b/kubernetes/aio/docs/V1HorizontalPodAutoscalerStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1HorizontalPodAutoscalerStatus.md rename to kubernetes/aio/docs/V1HorizontalPodAutoscalerStatus.md diff --git a/kubernetes_asyncio/docs/V1HostAlias.md b/kubernetes/aio/docs/V1HostAlias.md similarity index 100% rename from kubernetes_asyncio/docs/V1HostAlias.md rename to kubernetes/aio/docs/V1HostAlias.md diff --git a/kubernetes_asyncio/docs/V1HostIP.md b/kubernetes/aio/docs/V1HostIP.md similarity index 100% rename from kubernetes_asyncio/docs/V1HostIP.md rename to kubernetes/aio/docs/V1HostIP.md diff --git a/kubernetes_asyncio/docs/V1HostPathVolumeSource.md b/kubernetes/aio/docs/V1HostPathVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1HostPathVolumeSource.md rename to kubernetes/aio/docs/V1HostPathVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1IPAddress.md b/kubernetes/aio/docs/V1IPAddress.md similarity index 87% rename from kubernetes_asyncio/docs/V1IPAddress.md rename to kubernetes/aio/docs/V1IPAddress.md index cc1cd04866..9fd735a5e9 100644 --- a/kubernetes_asyncio/docs/V1IPAddress.md +++ b/kubernetes/aio/docs/V1IPAddress.md @@ -6,7 +6,7 @@ IPAddress represents a single IP of a single IP Family. The object is designed t Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1IPAddressSpec**](V1IPAddressSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1IPAddressList.md b/kubernetes/aio/docs/V1IPAddressList.md similarity index 81% rename from kubernetes_asyncio/docs/V1IPAddressList.md rename to kubernetes/aio/docs/V1IPAddressList.md index 433e1291b7..24176944b9 100644 --- a/kubernetes_asyncio/docs/V1IPAddressList.md +++ b/kubernetes/aio/docs/V1IPAddressList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1IPAddress]**](V1IPAddress.md) | items is the list of IPAddresses. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1IPAddressSpec.md b/kubernetes/aio/docs/V1IPAddressSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1IPAddressSpec.md rename to kubernetes/aio/docs/V1IPAddressSpec.md diff --git a/kubernetes_asyncio/docs/V1IPBlock.md b/kubernetes/aio/docs/V1IPBlock.md similarity index 100% rename from kubernetes_asyncio/docs/V1IPBlock.md rename to kubernetes/aio/docs/V1IPBlock.md diff --git a/kubernetes_asyncio/docs/V1ISCSIPersistentVolumeSource.md b/kubernetes/aio/docs/V1ISCSIPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ISCSIPersistentVolumeSource.md rename to kubernetes/aio/docs/V1ISCSIPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ISCSIVolumeSource.md b/kubernetes/aio/docs/V1ISCSIVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ISCSIVolumeSource.md rename to kubernetes/aio/docs/V1ISCSIVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ImageVolumeSource.md b/kubernetes/aio/docs/V1ImageVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ImageVolumeSource.md rename to kubernetes/aio/docs/V1ImageVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ImageVolumeStatus.md b/kubernetes/aio/docs/V1ImageVolumeStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ImageVolumeStatus.md rename to kubernetes/aio/docs/V1ImageVolumeStatus.md diff --git a/kubernetes_asyncio/docs/V1Ingress.md b/kubernetes/aio/docs/V1Ingress.md similarity index 84% rename from kubernetes_asyncio/docs/V1Ingress.md rename to kubernetes/aio/docs/V1Ingress.md index f3109fba6d..6a462c7019 100644 --- a/kubernetes_asyncio/docs/V1Ingress.md +++ b/kubernetes/aio/docs/V1Ingress.md @@ -6,7 +6,7 @@ Ingress is a collection of rules that allow inbound connections to reach the end Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1IngressSpec**](V1IngressSpec.md) | | [optional] **status** | [**V1IngressStatus**](V1IngressStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1IngressBackend.md b/kubernetes/aio/docs/V1IngressBackend.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressBackend.md rename to kubernetes/aio/docs/V1IngressBackend.md diff --git a/kubernetes_asyncio/docs/V1IngressClass.md b/kubernetes/aio/docs/V1IngressClass.md similarity index 85% rename from kubernetes_asyncio/docs/V1IngressClass.md rename to kubernetes/aio/docs/V1IngressClass.md index 68ae7351e1..b8c25da00f 100644 --- a/kubernetes_asyncio/docs/V1IngressClass.md +++ b/kubernetes/aio/docs/V1IngressClass.md @@ -6,7 +6,7 @@ IngressClass represents the class of the Ingress, referenced by the Ingress Spec Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1IngressClassSpec**](V1IngressClassSpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1IngressClassList.md b/kubernetes/aio/docs/V1IngressClassList.md similarity index 81% rename from kubernetes_asyncio/docs/V1IngressClassList.md rename to kubernetes/aio/docs/V1IngressClassList.md index 74840be2be..d819f38b4d 100644 --- a/kubernetes_asyncio/docs/V1IngressClassList.md +++ b/kubernetes/aio/docs/V1IngressClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1IngressClass]**](V1IngressClass.md) | items is the list of IngressClasses. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1IngressClassParametersReference.md b/kubernetes/aio/docs/V1IngressClassParametersReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressClassParametersReference.md rename to kubernetes/aio/docs/V1IngressClassParametersReference.md diff --git a/kubernetes_asyncio/docs/V1IngressClassSpec.md b/kubernetes/aio/docs/V1IngressClassSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressClassSpec.md rename to kubernetes/aio/docs/V1IngressClassSpec.md diff --git a/kubernetes_asyncio/docs/V1IngressList.md b/kubernetes/aio/docs/V1IngressList.md similarity index 81% rename from kubernetes_asyncio/docs/V1IngressList.md rename to kubernetes/aio/docs/V1IngressList.md index d8ae6b5364..2d29a3a77a 100644 --- a/kubernetes_asyncio/docs/V1IngressList.md +++ b/kubernetes/aio/docs/V1IngressList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Ingress]**](V1Ingress.md) | items is the list of Ingress. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1IngressLoadBalancerIngress.md b/kubernetes/aio/docs/V1IngressLoadBalancerIngress.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressLoadBalancerIngress.md rename to kubernetes/aio/docs/V1IngressLoadBalancerIngress.md diff --git a/kubernetes_asyncio/docs/V1IngressLoadBalancerStatus.md b/kubernetes/aio/docs/V1IngressLoadBalancerStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressLoadBalancerStatus.md rename to kubernetes/aio/docs/V1IngressLoadBalancerStatus.md diff --git a/kubernetes_asyncio/docs/V1IngressPortStatus.md b/kubernetes/aio/docs/V1IngressPortStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressPortStatus.md rename to kubernetes/aio/docs/V1IngressPortStatus.md diff --git a/kubernetes_asyncio/docs/V1IngressRule.md b/kubernetes/aio/docs/V1IngressRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressRule.md rename to kubernetes/aio/docs/V1IngressRule.md diff --git a/kubernetes_asyncio/docs/V1IngressServiceBackend.md b/kubernetes/aio/docs/V1IngressServiceBackend.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressServiceBackend.md rename to kubernetes/aio/docs/V1IngressServiceBackend.md diff --git a/kubernetes_asyncio/docs/V1IngressSpec.md b/kubernetes/aio/docs/V1IngressSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressSpec.md rename to kubernetes/aio/docs/V1IngressSpec.md diff --git a/kubernetes_asyncio/docs/V1IngressStatus.md b/kubernetes/aio/docs/V1IngressStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressStatus.md rename to kubernetes/aio/docs/V1IngressStatus.md diff --git a/kubernetes_asyncio/docs/V1IngressTLS.md b/kubernetes/aio/docs/V1IngressTLS.md similarity index 100% rename from kubernetes_asyncio/docs/V1IngressTLS.md rename to kubernetes/aio/docs/V1IngressTLS.md diff --git a/kubernetes_asyncio/docs/V1JSONPatch.md b/kubernetes/aio/docs/V1JSONPatch.md similarity index 100% rename from kubernetes_asyncio/docs/V1JSONPatch.md rename to kubernetes/aio/docs/V1JSONPatch.md diff --git a/kubernetes_asyncio/docs/V1JSONSchemaProps.md b/kubernetes/aio/docs/V1JSONSchemaProps.md similarity index 100% rename from kubernetes_asyncio/docs/V1JSONSchemaProps.md rename to kubernetes/aio/docs/V1JSONSchemaProps.md diff --git a/kubernetes_asyncio/docs/V1Job.md b/kubernetes/aio/docs/V1Job.md similarity index 81% rename from kubernetes_asyncio/docs/V1Job.md rename to kubernetes/aio/docs/V1Job.md index 9860761cf8..08d27bce32 100644 --- a/kubernetes_asyncio/docs/V1Job.md +++ b/kubernetes/aio/docs/V1Job.md @@ -6,7 +6,7 @@ Job represents the configuration of a single job. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1JobSpec**](V1JobSpec.md) | | [optional] **status** | [**V1JobStatus**](V1JobStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1JobCondition.md b/kubernetes/aio/docs/V1JobCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1JobCondition.md rename to kubernetes/aio/docs/V1JobCondition.md diff --git a/kubernetes_asyncio/docs/V1JobList.md b/kubernetes/aio/docs/V1JobList.md similarity index 80% rename from kubernetes_asyncio/docs/V1JobList.md rename to kubernetes/aio/docs/V1JobList.md index 7ed3e98ea0..6a69889329 100644 --- a/kubernetes_asyncio/docs/V1JobList.md +++ b/kubernetes/aio/docs/V1JobList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Job]**](V1Job.md) | items is the list of Jobs. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1JobSpec.md b/kubernetes/aio/docs/V1JobSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1JobSpec.md rename to kubernetes/aio/docs/V1JobSpec.md diff --git a/kubernetes_asyncio/docs/V1JobStatus.md b/kubernetes/aio/docs/V1JobStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1JobStatus.md rename to kubernetes/aio/docs/V1JobStatus.md diff --git a/kubernetes_asyncio/docs/V1JobTemplateSpec.md b/kubernetes/aio/docs/V1JobTemplateSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1JobTemplateSpec.md rename to kubernetes/aio/docs/V1JobTemplateSpec.md diff --git a/kubernetes_asyncio/docs/V1KeyToPath.md b/kubernetes/aio/docs/V1KeyToPath.md similarity index 100% rename from kubernetes_asyncio/docs/V1KeyToPath.md rename to kubernetes/aio/docs/V1KeyToPath.md diff --git a/kubernetes_asyncio/docs/V1LabelSelector.md b/kubernetes/aio/docs/V1LabelSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1LabelSelector.md rename to kubernetes/aio/docs/V1LabelSelector.md diff --git a/kubernetes_asyncio/docs/V1LabelSelectorAttributes.md b/kubernetes/aio/docs/V1LabelSelectorAttributes.md similarity index 100% rename from kubernetes_asyncio/docs/V1LabelSelectorAttributes.md rename to kubernetes/aio/docs/V1LabelSelectorAttributes.md diff --git a/kubernetes_asyncio/docs/V1LabelSelectorRequirement.md b/kubernetes/aio/docs/V1LabelSelectorRequirement.md similarity index 100% rename from kubernetes_asyncio/docs/V1LabelSelectorRequirement.md rename to kubernetes/aio/docs/V1LabelSelectorRequirement.md diff --git a/kubernetes_asyncio/docs/V1Lease.md b/kubernetes/aio/docs/V1Lease.md similarity index 80% rename from kubernetes_asyncio/docs/V1Lease.md rename to kubernetes/aio/docs/V1Lease.md index e9ae3adcbc..37ca1a2465 100644 --- a/kubernetes_asyncio/docs/V1Lease.md +++ b/kubernetes/aio/docs/V1Lease.md @@ -6,7 +6,7 @@ Lease defines a lease concept. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1LeaseSpec**](V1LeaseSpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1LeaseList.md b/kubernetes/aio/docs/V1LeaseList.md similarity index 81% rename from kubernetes_asyncio/docs/V1LeaseList.md rename to kubernetes/aio/docs/V1LeaseList.md index 3d39a80771..b9c4599a55 100644 --- a/kubernetes_asyncio/docs/V1LeaseList.md +++ b/kubernetes/aio/docs/V1LeaseList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Lease]**](V1Lease.md) | items is a list of schema objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1LeaseSpec.md b/kubernetes/aio/docs/V1LeaseSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1LeaseSpec.md rename to kubernetes/aio/docs/V1LeaseSpec.md diff --git a/kubernetes_asyncio/docs/V1Lifecycle.md b/kubernetes/aio/docs/V1Lifecycle.md similarity index 100% rename from kubernetes_asyncio/docs/V1Lifecycle.md rename to kubernetes/aio/docs/V1Lifecycle.md diff --git a/kubernetes_asyncio/docs/V1LifecycleHandler.md b/kubernetes/aio/docs/V1LifecycleHandler.md similarity index 100% rename from kubernetes_asyncio/docs/V1LifecycleHandler.md rename to kubernetes/aio/docs/V1LifecycleHandler.md diff --git a/kubernetes_asyncio/docs/V1LimitRange.md b/kubernetes/aio/docs/V1LimitRange.md similarity index 81% rename from kubernetes_asyncio/docs/V1LimitRange.md rename to kubernetes/aio/docs/V1LimitRange.md index fc638deab2..04dde70979 100644 --- a/kubernetes_asyncio/docs/V1LimitRange.md +++ b/kubernetes/aio/docs/V1LimitRange.md @@ -6,7 +6,7 @@ LimitRange sets resource usage limits for each kind of resource in a Namespace. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1LimitRangeSpec**](V1LimitRangeSpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1LimitRangeItem.md b/kubernetes/aio/docs/V1LimitRangeItem.md similarity index 100% rename from kubernetes_asyncio/docs/V1LimitRangeItem.md rename to kubernetes/aio/docs/V1LimitRangeItem.md diff --git a/kubernetes_asyncio/docs/V1LimitRangeList.md b/kubernetes/aio/docs/V1LimitRangeList.md similarity index 82% rename from kubernetes_asyncio/docs/V1LimitRangeList.md rename to kubernetes/aio/docs/V1LimitRangeList.md index 6948b17b7b..15815f6069 100644 --- a/kubernetes_asyncio/docs/V1LimitRangeList.md +++ b/kubernetes/aio/docs/V1LimitRangeList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1LimitRange]**](V1LimitRange.md) | Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1LimitRangeSpec.md b/kubernetes/aio/docs/V1LimitRangeSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1LimitRangeSpec.md rename to kubernetes/aio/docs/V1LimitRangeSpec.md diff --git a/kubernetes_asyncio/docs/V1LimitResponse.md b/kubernetes/aio/docs/V1LimitResponse.md similarity index 100% rename from kubernetes_asyncio/docs/V1LimitResponse.md rename to kubernetes/aio/docs/V1LimitResponse.md diff --git a/kubernetes_asyncio/docs/V1LimitedPriorityLevelConfiguration.md b/kubernetes/aio/docs/V1LimitedPriorityLevelConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1LimitedPriorityLevelConfiguration.md rename to kubernetes/aio/docs/V1LimitedPriorityLevelConfiguration.md diff --git a/kubernetes_asyncio/docs/V1LinuxContainerUser.md b/kubernetes/aio/docs/V1LinuxContainerUser.md similarity index 100% rename from kubernetes_asyncio/docs/V1LinuxContainerUser.md rename to kubernetes/aio/docs/V1LinuxContainerUser.md diff --git a/kubernetes_asyncio/docs/V1ListMeta.md b/kubernetes/aio/docs/V1ListMeta.md similarity index 86% rename from kubernetes_asyncio/docs/V1ListMeta.md rename to kubernetes/aio/docs/V1ListMeta.md index d9824a0aed..b7fab0d97c 100644 --- a/kubernetes_asyncio/docs/V1ListMeta.md +++ b/kubernetes/aio/docs/V1ListMeta.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_continue** | **str** | continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message. | [optional] **remaining_item_count** | **int** | remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. | [optional] -**resource_version** | **str** | String that identifies the server's internal version of this object that can be used by kubernetes_asyncio.clients to determine when objects have changed. Value must be treated as opaque by kubernetes_asyncio.clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency | [optional] +**resource_version** | **str** | String that identifies the server's internal version of this object that can be used by kubernetes.aio.clients to determine when objects have changed. Value must be treated as opaque by kubernetes.aio.clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency | [optional] **self_link** | **str** | Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. | [optional] **shard_info** | [**V1ShardInfo**](V1ShardInfo.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1LoadBalancerIngress.md b/kubernetes/aio/docs/V1LoadBalancerIngress.md similarity index 100% rename from kubernetes_asyncio/docs/V1LoadBalancerIngress.md rename to kubernetes/aio/docs/V1LoadBalancerIngress.md diff --git a/kubernetes_asyncio/docs/V1LoadBalancerStatus.md b/kubernetes/aio/docs/V1LoadBalancerStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1LoadBalancerStatus.md rename to kubernetes/aio/docs/V1LoadBalancerStatus.md diff --git a/kubernetes_asyncio/docs/V1LocalObjectReference.md b/kubernetes/aio/docs/V1LocalObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1LocalObjectReference.md rename to kubernetes/aio/docs/V1LocalObjectReference.md diff --git a/kubernetes_asyncio/docs/V1LocalSubjectAccessReview.md b/kubernetes/aio/docs/V1LocalSubjectAccessReview.md similarity index 85% rename from kubernetes_asyncio/docs/V1LocalSubjectAccessReview.md rename to kubernetes/aio/docs/V1LocalSubjectAccessReview.md index 9dd889e500..3b29675d3d 100644 --- a/kubernetes_asyncio/docs/V1LocalSubjectAccessReview.md +++ b/kubernetes/aio/docs/V1LocalSubjectAccessReview.md @@ -6,7 +6,7 @@ LocalSubjectAccessReview checks whether or not a user or group can perform an ac Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1SubjectAccessReviewSpec**](V1SubjectAccessReviewSpec.md) | | **status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1LocalVolumeSource.md b/kubernetes/aio/docs/V1LocalVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1LocalVolumeSource.md rename to kubernetes/aio/docs/V1LocalVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ManagedFieldsEntry.md b/kubernetes/aio/docs/V1ManagedFieldsEntry.md similarity index 100% rename from kubernetes_asyncio/docs/V1ManagedFieldsEntry.md rename to kubernetes/aio/docs/V1ManagedFieldsEntry.md diff --git a/kubernetes_asyncio/docs/V1MatchCondition.md b/kubernetes/aio/docs/V1MatchCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1MatchCondition.md rename to kubernetes/aio/docs/V1MatchCondition.md diff --git a/kubernetes_asyncio/docs/V1MatchResources.md b/kubernetes/aio/docs/V1MatchResources.md similarity index 100% rename from kubernetes_asyncio/docs/V1MatchResources.md rename to kubernetes/aio/docs/V1MatchResources.md diff --git a/kubernetes_asyncio/docs/V1ModifyVolumeStatus.md b/kubernetes/aio/docs/V1ModifyVolumeStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ModifyVolumeStatus.md rename to kubernetes/aio/docs/V1ModifyVolumeStatus.md diff --git a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicy.md b/kubernetes/aio/docs/V1MutatingAdmissionPolicy.md similarity index 83% rename from kubernetes_asyncio/docs/V1MutatingAdmissionPolicy.md rename to kubernetes/aio/docs/V1MutatingAdmissionPolicy.md index 822eb67f56..1e2f245aad 100644 --- a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicy.md +++ b/kubernetes/aio/docs/V1MutatingAdmissionPolicy.md @@ -6,7 +6,7 @@ MutatingAdmissionPolicy describes the definition of an admission mutation policy Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1MutatingAdmissionPolicySpec**](V1MutatingAdmissionPolicySpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBinding.md b/kubernetes/aio/docs/V1MutatingAdmissionPolicyBinding.md similarity index 88% rename from kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBinding.md rename to kubernetes/aio/docs/V1MutatingAdmissionPolicyBinding.md index 6f8032e4a0..fba94e55c9 100644 --- a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBinding.md +++ b/kubernetes/aio/docs/V1MutatingAdmissionPolicyBinding.md @@ -6,7 +6,7 @@ MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametriz Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1MutatingAdmissionPolicyBindingSpec**](V1MutatingAdmissionPolicyBindingSpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBindingList.md b/kubernetes/aio/docs/V1MutatingAdmissionPolicyBindingList.md similarity index 82% rename from kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBindingList.md rename to kubernetes/aio/docs/V1MutatingAdmissionPolicyBindingList.md index df7c22b842..ab534ca2fc 100644 --- a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBindingList.md +++ b/kubernetes/aio/docs/V1MutatingAdmissionPolicyBindingList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1MutatingAdmissionPolicyBinding]**](V1MutatingAdmissionPolicyBinding.md) | List of PolicyBinding. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBindingSpec.md b/kubernetes/aio/docs/V1MutatingAdmissionPolicyBindingSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1MutatingAdmissionPolicyBindingSpec.md rename to kubernetes/aio/docs/V1MutatingAdmissionPolicyBindingSpec.md diff --git a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicyList.md b/kubernetes/aio/docs/V1MutatingAdmissionPolicyList.md similarity index 82% rename from kubernetes_asyncio/docs/V1MutatingAdmissionPolicyList.md rename to kubernetes/aio/docs/V1MutatingAdmissionPolicyList.md index ba5d7eac66..1b09ce03ab 100644 --- a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicyList.md +++ b/kubernetes/aio/docs/V1MutatingAdmissionPolicyList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1MutatingAdmissionPolicy]**](V1MutatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1MutatingAdmissionPolicySpec.md b/kubernetes/aio/docs/V1MutatingAdmissionPolicySpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1MutatingAdmissionPolicySpec.md rename to kubernetes/aio/docs/V1MutatingAdmissionPolicySpec.md diff --git a/kubernetes_asyncio/docs/V1MutatingWebhook.md b/kubernetes/aio/docs/V1MutatingWebhook.md similarity index 97% rename from kubernetes_asyncio/docs/V1MutatingWebhook.md rename to kubernetes/aio/docs/V1MutatingWebhook.md index f0432fbc62..5a2edd42b0 100644 --- a/kubernetes_asyncio/docs/V1MutatingWebhook.md +++ b/kubernetes/aio/docs/V1MutatingWebhook.md @@ -6,7 +6,7 @@ MutatingWebhook describes an admission webhook and the resources and operations Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **admission_review_versions** | **list[str]** | admissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. | -**kubernetes_asyncio.client_config** | [**AdmissionregistrationV1WebhookClientConfig**](AdmissionregistrationV1WebhookClientConfig.md) | | +**kubernetes.aio.client_config** | [**AdmissionregistrationV1WebhookClientConfig**](AdmissionregistrationV1WebhookClientConfig.md) | | **failure_policy** | **str** | failurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail. | [optional] **match_conditions** | [**list[V1MatchCondition]**](V1MatchCondition.md) | matchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed. The exact matching logic is (in order): 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped. 2. If ALL matchConditions evaluate to TRUE, the webhook is called. 3. If any matchCondition evaluates to an error (but none are FALSE): - If failurePolicy=Fail, reject the request - If failurePolicy=Ignore, the error is ignored and the webhook is skipped | [optional] **match_policy** | **str** | matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Equivalent\" | [optional] diff --git a/kubernetes_asyncio/docs/V1MutatingWebhookConfiguration.md b/kubernetes/aio/docs/V1MutatingWebhookConfiguration.md similarity index 83% rename from kubernetes_asyncio/docs/V1MutatingWebhookConfiguration.md rename to kubernetes/aio/docs/V1MutatingWebhookConfiguration.md index 3de4a35829..ccf342422a 100644 --- a/kubernetes_asyncio/docs/V1MutatingWebhookConfiguration.md +++ b/kubernetes/aio/docs/V1MutatingWebhookConfiguration.md @@ -6,7 +6,7 @@ MutatingWebhookConfiguration describes the configuration of and admission webhoo Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **webhooks** | [**list[V1MutatingWebhook]**](V1MutatingWebhook.md) | webhooks is a list of webhooks and the affected resources and operations. | [optional] diff --git a/kubernetes_asyncio/docs/V1MutatingWebhookConfigurationList.md b/kubernetes/aio/docs/V1MutatingWebhookConfigurationList.md similarity index 82% rename from kubernetes_asyncio/docs/V1MutatingWebhookConfigurationList.md rename to kubernetes/aio/docs/V1MutatingWebhookConfigurationList.md index 3c210fa52f..0426737578 100644 --- a/kubernetes_asyncio/docs/V1MutatingWebhookConfigurationList.md +++ b/kubernetes/aio/docs/V1MutatingWebhookConfigurationList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1MutatingWebhookConfiguration]**](V1MutatingWebhookConfiguration.md) | List of MutatingWebhookConfiguration. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1Mutation.md b/kubernetes/aio/docs/V1Mutation.md similarity index 100% rename from kubernetes_asyncio/docs/V1Mutation.md rename to kubernetes/aio/docs/V1Mutation.md diff --git a/kubernetes_asyncio/docs/V1NFSVolumeSource.md b/kubernetes/aio/docs/V1NFSVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1NFSVolumeSource.md rename to kubernetes/aio/docs/V1NFSVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1NamedRuleWithOperations.md b/kubernetes/aio/docs/V1NamedRuleWithOperations.md similarity index 100% rename from kubernetes_asyncio/docs/V1NamedRuleWithOperations.md rename to kubernetes/aio/docs/V1NamedRuleWithOperations.md diff --git a/kubernetes_asyncio/docs/V1Namespace.md b/kubernetes/aio/docs/V1Namespace.md similarity index 82% rename from kubernetes_asyncio/docs/V1Namespace.md rename to kubernetes/aio/docs/V1Namespace.md index e1bb980a61..4d93ede31a 100644 --- a/kubernetes_asyncio/docs/V1Namespace.md +++ b/kubernetes/aio/docs/V1Namespace.md @@ -6,7 +6,7 @@ Namespace provides a scope for Names. Use of multiple namespaces is optional. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1NamespaceSpec**](V1NamespaceSpec.md) | | [optional] **status** | [**V1NamespaceStatus**](V1NamespaceStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1NamespaceCondition.md b/kubernetes/aio/docs/V1NamespaceCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1NamespaceCondition.md rename to kubernetes/aio/docs/V1NamespaceCondition.md diff --git a/kubernetes_asyncio/docs/V1NamespaceList.md b/kubernetes/aio/docs/V1NamespaceList.md similarity index 82% rename from kubernetes_asyncio/docs/V1NamespaceList.md rename to kubernetes/aio/docs/V1NamespaceList.md index 84ce6d9c52..2d2702694f 100644 --- a/kubernetes_asyncio/docs/V1NamespaceList.md +++ b/kubernetes/aio/docs/V1NamespaceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Namespace]**](V1Namespace.md) | Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1NamespaceSpec.md b/kubernetes/aio/docs/V1NamespaceSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1NamespaceSpec.md rename to kubernetes/aio/docs/V1NamespaceSpec.md diff --git a/kubernetes_asyncio/docs/V1NamespaceStatus.md b/kubernetes/aio/docs/V1NamespaceStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1NamespaceStatus.md rename to kubernetes/aio/docs/V1NamespaceStatus.md diff --git a/kubernetes_asyncio/docs/V1NetworkDeviceData.md b/kubernetes/aio/docs/V1NetworkDeviceData.md similarity index 100% rename from kubernetes_asyncio/docs/V1NetworkDeviceData.md rename to kubernetes/aio/docs/V1NetworkDeviceData.md diff --git a/kubernetes_asyncio/docs/V1NetworkPolicy.md b/kubernetes/aio/docs/V1NetworkPolicy.md similarity index 81% rename from kubernetes_asyncio/docs/V1NetworkPolicy.md rename to kubernetes/aio/docs/V1NetworkPolicy.md index b49dde6aca..5c3a4875ff 100644 --- a/kubernetes_asyncio/docs/V1NetworkPolicy.md +++ b/kubernetes/aio/docs/V1NetworkPolicy.md @@ -6,7 +6,7 @@ NetworkPolicy describes what network traffic is allowed for a set of Pods Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1NetworkPolicySpec**](V1NetworkPolicySpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1NetworkPolicyEgressRule.md b/kubernetes/aio/docs/V1NetworkPolicyEgressRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1NetworkPolicyEgressRule.md rename to kubernetes/aio/docs/V1NetworkPolicyEgressRule.md diff --git a/kubernetes_asyncio/docs/V1NetworkPolicyIngressRule.md b/kubernetes/aio/docs/V1NetworkPolicyIngressRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1NetworkPolicyIngressRule.md rename to kubernetes/aio/docs/V1NetworkPolicyIngressRule.md diff --git a/kubernetes_asyncio/docs/V1NetworkPolicyList.md b/kubernetes/aio/docs/V1NetworkPolicyList.md similarity index 81% rename from kubernetes_asyncio/docs/V1NetworkPolicyList.md rename to kubernetes/aio/docs/V1NetworkPolicyList.md index 69100daddd..d2b871cd5d 100644 --- a/kubernetes_asyncio/docs/V1NetworkPolicyList.md +++ b/kubernetes/aio/docs/V1NetworkPolicyList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1NetworkPolicy]**](V1NetworkPolicy.md) | items is a list of schema objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1NetworkPolicyPeer.md b/kubernetes/aio/docs/V1NetworkPolicyPeer.md similarity index 100% rename from kubernetes_asyncio/docs/V1NetworkPolicyPeer.md rename to kubernetes/aio/docs/V1NetworkPolicyPeer.md diff --git a/kubernetes_asyncio/docs/V1NetworkPolicyPort.md b/kubernetes/aio/docs/V1NetworkPolicyPort.md similarity index 100% rename from kubernetes_asyncio/docs/V1NetworkPolicyPort.md rename to kubernetes/aio/docs/V1NetworkPolicyPort.md diff --git a/kubernetes_asyncio/docs/V1NetworkPolicySpec.md b/kubernetes/aio/docs/V1NetworkPolicySpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1NetworkPolicySpec.md rename to kubernetes/aio/docs/V1NetworkPolicySpec.md diff --git a/kubernetes_asyncio/docs/V1Node.md b/kubernetes/aio/docs/V1Node.md similarity index 82% rename from kubernetes_asyncio/docs/V1Node.md rename to kubernetes/aio/docs/V1Node.md index add1556070..7ef5fe62db 100644 --- a/kubernetes_asyncio/docs/V1Node.md +++ b/kubernetes/aio/docs/V1Node.md @@ -6,7 +6,7 @@ Node is a worker node in Kubernetes. Each node will have a unique identifier in Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1NodeSpec**](V1NodeSpec.md) | | [optional] **status** | [**V1NodeStatus**](V1NodeStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1NodeAddress.md b/kubernetes/aio/docs/V1NodeAddress.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeAddress.md rename to kubernetes/aio/docs/V1NodeAddress.md diff --git a/kubernetes_asyncio/docs/V1NodeAffinity.md b/kubernetes/aio/docs/V1NodeAffinity.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeAffinity.md rename to kubernetes/aio/docs/V1NodeAffinity.md diff --git a/kubernetes_asyncio/docs/V1NodeAllocatableResourceClaimStatus.md b/kubernetes/aio/docs/V1NodeAllocatableResourceClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeAllocatableResourceClaimStatus.md rename to kubernetes/aio/docs/V1NodeAllocatableResourceClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1NodeAllocatableResourceMapping.md b/kubernetes/aio/docs/V1NodeAllocatableResourceMapping.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeAllocatableResourceMapping.md rename to kubernetes/aio/docs/V1NodeAllocatableResourceMapping.md diff --git a/kubernetes_asyncio/docs/V1NodeCondition.md b/kubernetes/aio/docs/V1NodeCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeCondition.md rename to kubernetes/aio/docs/V1NodeCondition.md diff --git a/kubernetes_asyncio/docs/V1NodeConfigSource.md b/kubernetes/aio/docs/V1NodeConfigSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeConfigSource.md rename to kubernetes/aio/docs/V1NodeConfigSource.md diff --git a/kubernetes_asyncio/docs/V1NodeConfigStatus.md b/kubernetes/aio/docs/V1NodeConfigStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeConfigStatus.md rename to kubernetes/aio/docs/V1NodeConfigStatus.md diff --git a/kubernetes_asyncio/docs/V1NodeDaemonEndpoints.md b/kubernetes/aio/docs/V1NodeDaemonEndpoints.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeDaemonEndpoints.md rename to kubernetes/aio/docs/V1NodeDaemonEndpoints.md diff --git a/kubernetes_asyncio/docs/V1NodeFeatures.md b/kubernetes/aio/docs/V1NodeFeatures.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeFeatures.md rename to kubernetes/aio/docs/V1NodeFeatures.md diff --git a/kubernetes_asyncio/docs/V1NodeList.md b/kubernetes/aio/docs/V1NodeList.md similarity index 81% rename from kubernetes_asyncio/docs/V1NodeList.md rename to kubernetes/aio/docs/V1NodeList.md index a14e246780..43dc2bfd6e 100644 --- a/kubernetes_asyncio/docs/V1NodeList.md +++ b/kubernetes/aio/docs/V1NodeList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Node]**](V1Node.md) | List of nodes | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1NodeRuntimeHandler.md b/kubernetes/aio/docs/V1NodeRuntimeHandler.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeRuntimeHandler.md rename to kubernetes/aio/docs/V1NodeRuntimeHandler.md diff --git a/kubernetes_asyncio/docs/V1NodeRuntimeHandlerFeatures.md b/kubernetes/aio/docs/V1NodeRuntimeHandlerFeatures.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeRuntimeHandlerFeatures.md rename to kubernetes/aio/docs/V1NodeRuntimeHandlerFeatures.md diff --git a/kubernetes_asyncio/docs/V1NodeSelector.md b/kubernetes/aio/docs/V1NodeSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeSelector.md rename to kubernetes/aio/docs/V1NodeSelector.md diff --git a/kubernetes_asyncio/docs/V1NodeSelectorRequirement.md b/kubernetes/aio/docs/V1NodeSelectorRequirement.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeSelectorRequirement.md rename to kubernetes/aio/docs/V1NodeSelectorRequirement.md diff --git a/kubernetes_asyncio/docs/V1NodeSelectorTerm.md b/kubernetes/aio/docs/V1NodeSelectorTerm.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeSelectorTerm.md rename to kubernetes/aio/docs/V1NodeSelectorTerm.md diff --git a/kubernetes_asyncio/docs/V1NodeSpec.md b/kubernetes/aio/docs/V1NodeSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeSpec.md rename to kubernetes/aio/docs/V1NodeSpec.md diff --git a/kubernetes_asyncio/docs/V1NodeStatus.md b/kubernetes/aio/docs/V1NodeStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeStatus.md rename to kubernetes/aio/docs/V1NodeStatus.md diff --git a/kubernetes_asyncio/docs/V1NodeSwapStatus.md b/kubernetes/aio/docs/V1NodeSwapStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeSwapStatus.md rename to kubernetes/aio/docs/V1NodeSwapStatus.md diff --git a/kubernetes_asyncio/docs/V1NodeSystemInfo.md b/kubernetes/aio/docs/V1NodeSystemInfo.md similarity index 100% rename from kubernetes_asyncio/docs/V1NodeSystemInfo.md rename to kubernetes/aio/docs/V1NodeSystemInfo.md diff --git a/kubernetes_asyncio/docs/V1NonResourceAttributes.md b/kubernetes/aio/docs/V1NonResourceAttributes.md similarity index 100% rename from kubernetes_asyncio/docs/V1NonResourceAttributes.md rename to kubernetes/aio/docs/V1NonResourceAttributes.md diff --git a/kubernetes_asyncio/docs/V1NonResourcePolicyRule.md b/kubernetes/aio/docs/V1NonResourcePolicyRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1NonResourcePolicyRule.md rename to kubernetes/aio/docs/V1NonResourcePolicyRule.md diff --git a/kubernetes_asyncio/docs/V1NonResourceRule.md b/kubernetes/aio/docs/V1NonResourceRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1NonResourceRule.md rename to kubernetes/aio/docs/V1NonResourceRule.md diff --git a/kubernetes_asyncio/docs/V1ObjectFieldSelector.md b/kubernetes/aio/docs/V1ObjectFieldSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1ObjectFieldSelector.md rename to kubernetes/aio/docs/V1ObjectFieldSelector.md diff --git a/kubernetes_asyncio/docs/V1ObjectMeta.md b/kubernetes/aio/docs/V1ObjectMeta.md similarity index 66% rename from kubernetes_asyncio/docs/V1ObjectMeta.md rename to kubernetes/aio/docs/V1ObjectMeta.md index 9d43647f5f..56c606cecb 100644 --- a/kubernetes_asyncio/docs/V1ObjectMeta.md +++ b/kubernetes/aio/docs/V1ObjectMeta.md @@ -8,16 +8,16 @@ Name | Type | Description | Notes **annotations** | **dict[str, str]** | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations | [optional] **creation_timestamp** | **datetime** | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | [optional] **deletion_grace_period_seconds** | **int** | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. | [optional] -**deletion_timestamp** | **datetime** | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a kubernetes_asyncio.client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | [optional] +**deletion_timestamp** | **datetime** | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a kubernetes.aio.client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | [optional] **finalizers** | **list[str]** | Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. | [optional] -**generate_name** | **str** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the kubernetes_asyncio.client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency | [optional] +**generate_name** | **str** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the kubernetes.aio.client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will return a 409. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency | [optional] **generation** | **int** | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | [optional] **labels** | **dict[str, str]** | Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels | [optional] **managed_fields** | [**list[V1ManagedFieldsEntry]**](V1ManagedFieldsEntry.md) | ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object. | [optional] -**name** | **str** | Name must be unique within a namespace. Is required when creating resources, although some resources may allow a kubernetes_asyncio.client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names | [optional] +**name** | **str** | Name must be unique within a namespace. Is required when creating resources, although some resources may allow a kubernetes.aio.client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names | [optional] **namespace** | **str** | Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces | [optional] **owner_references** | [**list[V1OwnerReference]**](V1OwnerReference.md) | List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. | [optional] -**resource_version** | **str** | An opaque value that represents the internal version of this object that can be used by kubernetes_asyncio.clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by kubernetes_asyncio.clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency | [optional] +**resource_version** | **str** | An opaque value that represents the internal version of this object that can be used by kubernetes.aio.clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by kubernetes.aio.clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency | [optional] **self_link** | **str** | Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. | [optional] **uid** | **str** | UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids | [optional] diff --git a/kubernetes_asyncio/docs/V1ObjectReference.md b/kubernetes/aio/docs/V1ObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1ObjectReference.md rename to kubernetes/aio/docs/V1ObjectReference.md diff --git a/kubernetes_asyncio/docs/V1OpaqueDeviceConfiguration.md b/kubernetes/aio/docs/V1OpaqueDeviceConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1OpaqueDeviceConfiguration.md rename to kubernetes/aio/docs/V1OpaqueDeviceConfiguration.md diff --git a/kubernetes_asyncio/docs/V1Overhead.md b/kubernetes/aio/docs/V1Overhead.md similarity index 100% rename from kubernetes_asyncio/docs/V1Overhead.md rename to kubernetes/aio/docs/V1Overhead.md diff --git a/kubernetes_asyncio/docs/V1OwnerReference.md b/kubernetes/aio/docs/V1OwnerReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1OwnerReference.md rename to kubernetes/aio/docs/V1OwnerReference.md diff --git a/kubernetes_asyncio/docs/V1ParamKind.md b/kubernetes/aio/docs/V1ParamKind.md similarity index 100% rename from kubernetes_asyncio/docs/V1ParamKind.md rename to kubernetes/aio/docs/V1ParamKind.md diff --git a/kubernetes_asyncio/docs/V1ParamRef.md b/kubernetes/aio/docs/V1ParamRef.md similarity index 100% rename from kubernetes_asyncio/docs/V1ParamRef.md rename to kubernetes/aio/docs/V1ParamRef.md diff --git a/kubernetes_asyncio/docs/V1ParentReference.md b/kubernetes/aio/docs/V1ParentReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1ParentReference.md rename to kubernetes/aio/docs/V1ParentReference.md diff --git a/kubernetes_asyncio/docs/V1PersistentVolume.md b/kubernetes/aio/docs/V1PersistentVolume.md similarity index 84% rename from kubernetes_asyncio/docs/V1PersistentVolume.md rename to kubernetes/aio/docs/V1PersistentVolume.md index 90305497e4..db3d27dc49 100644 --- a/kubernetes_asyncio/docs/V1PersistentVolume.md +++ b/kubernetes/aio/docs/V1PersistentVolume.md @@ -6,7 +6,7 @@ PersistentVolume (PV) is a storage resource provisioned by an administrator. It Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1PersistentVolumeSpec**](V1PersistentVolumeSpec.md) | | [optional] **status** | [**V1PersistentVolumeStatus**](V1PersistentVolumeStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeClaim.md b/kubernetes/aio/docs/V1PersistentVolumeClaim.md similarity index 83% rename from kubernetes_asyncio/docs/V1PersistentVolumeClaim.md rename to kubernetes/aio/docs/V1PersistentVolumeClaim.md index 58d6d0ca4e..4f95235206 100644 --- a/kubernetes_asyncio/docs/V1PersistentVolumeClaim.md +++ b/kubernetes/aio/docs/V1PersistentVolumeClaim.md @@ -6,7 +6,7 @@ PersistentVolumeClaim is a user's request for and claim to a persistent volume Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1PersistentVolumeClaimSpec**](V1PersistentVolumeClaimSpec.md) | | [optional] **status** | [**V1PersistentVolumeClaimStatus**](V1PersistentVolumeClaimStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeClaimCondition.md b/kubernetes/aio/docs/V1PersistentVolumeClaimCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1PersistentVolumeClaimCondition.md rename to kubernetes/aio/docs/V1PersistentVolumeClaimCondition.md diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeClaimList.md b/kubernetes/aio/docs/V1PersistentVolumeClaimList.md similarity index 83% rename from kubernetes_asyncio/docs/V1PersistentVolumeClaimList.md rename to kubernetes/aio/docs/V1PersistentVolumeClaimList.md index dd436fa881..e6f44e48c2 100644 --- a/kubernetes_asyncio/docs/V1PersistentVolumeClaimList.md +++ b/kubernetes/aio/docs/V1PersistentVolumeClaimList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1PersistentVolumeClaim]**](V1PersistentVolumeClaim.md) | items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeClaimSpec.md b/kubernetes/aio/docs/V1PersistentVolumeClaimSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1PersistentVolumeClaimSpec.md rename to kubernetes/aio/docs/V1PersistentVolumeClaimSpec.md diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeClaimStatus.md b/kubernetes/aio/docs/V1PersistentVolumeClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PersistentVolumeClaimStatus.md rename to kubernetes/aio/docs/V1PersistentVolumeClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeClaimTemplate.md b/kubernetes/aio/docs/V1PersistentVolumeClaimTemplate.md similarity index 100% rename from kubernetes_asyncio/docs/V1PersistentVolumeClaimTemplate.md rename to kubernetes/aio/docs/V1PersistentVolumeClaimTemplate.md diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeClaimVolumeSource.md b/kubernetes/aio/docs/V1PersistentVolumeClaimVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1PersistentVolumeClaimVolumeSource.md rename to kubernetes/aio/docs/V1PersistentVolumeClaimVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeList.md b/kubernetes/aio/docs/V1PersistentVolumeList.md similarity index 83% rename from kubernetes_asyncio/docs/V1PersistentVolumeList.md rename to kubernetes/aio/docs/V1PersistentVolumeList.md index 61f860175d..1ab7bf54a4 100644 --- a/kubernetes_asyncio/docs/V1PersistentVolumeList.md +++ b/kubernetes/aio/docs/V1PersistentVolumeList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1PersistentVolume]**](V1PersistentVolume.md) | items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeSpec.md b/kubernetes/aio/docs/V1PersistentVolumeSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1PersistentVolumeSpec.md rename to kubernetes/aio/docs/V1PersistentVolumeSpec.md diff --git a/kubernetes_asyncio/docs/V1PersistentVolumeStatus.md b/kubernetes/aio/docs/V1PersistentVolumeStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PersistentVolumeStatus.md rename to kubernetes/aio/docs/V1PersistentVolumeStatus.md diff --git a/kubernetes_asyncio/docs/V1PhotonPersistentDiskVolumeSource.md b/kubernetes/aio/docs/V1PhotonPersistentDiskVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1PhotonPersistentDiskVolumeSource.md rename to kubernetes/aio/docs/V1PhotonPersistentDiskVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1Pod.md b/kubernetes/aio/docs/V1Pod.md similarity index 77% rename from kubernetes_asyncio/docs/V1Pod.md rename to kubernetes/aio/docs/V1Pod.md index f0629ef0a3..a7e5ed7dd0 100644 --- a/kubernetes_asyncio/docs/V1Pod.md +++ b/kubernetes/aio/docs/V1Pod.md @@ -1,12 +1,12 @@ # V1Pod -Pod is a collection of containers that can run on a host. This resource is created by kubernetes_asyncio.clients and scheduled onto hosts. +Pod is a collection of containers that can run on a host. This resource is created by kubernetes.aio.clients and scheduled onto hosts. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1PodSpec**](V1PodSpec.md) | | [optional] **status** | [**V1PodStatus**](V1PodStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1PodAffinity.md b/kubernetes/aio/docs/V1PodAffinity.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodAffinity.md rename to kubernetes/aio/docs/V1PodAffinity.md diff --git a/kubernetes_asyncio/docs/V1PodAffinityTerm.md b/kubernetes/aio/docs/V1PodAffinityTerm.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodAffinityTerm.md rename to kubernetes/aio/docs/V1PodAffinityTerm.md diff --git a/kubernetes_asyncio/docs/V1PodAntiAffinity.md b/kubernetes/aio/docs/V1PodAntiAffinity.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodAntiAffinity.md rename to kubernetes/aio/docs/V1PodAntiAffinity.md diff --git a/kubernetes_asyncio/docs/V1PodCertificateProjection.md b/kubernetes/aio/docs/V1PodCertificateProjection.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodCertificateProjection.md rename to kubernetes/aio/docs/V1PodCertificateProjection.md diff --git a/kubernetes_asyncio/docs/V1PodCondition.md b/kubernetes/aio/docs/V1PodCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodCondition.md rename to kubernetes/aio/docs/V1PodCondition.md diff --git a/kubernetes_asyncio/docs/V1PodDNSConfig.md b/kubernetes/aio/docs/V1PodDNSConfig.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodDNSConfig.md rename to kubernetes/aio/docs/V1PodDNSConfig.md diff --git a/kubernetes_asyncio/docs/V1PodDNSConfigOption.md b/kubernetes/aio/docs/V1PodDNSConfigOption.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodDNSConfigOption.md rename to kubernetes/aio/docs/V1PodDNSConfigOption.md diff --git a/kubernetes_asyncio/docs/V1PodDisruptionBudget.md b/kubernetes/aio/docs/V1PodDisruptionBudget.md similarity index 83% rename from kubernetes_asyncio/docs/V1PodDisruptionBudget.md rename to kubernetes/aio/docs/V1PodDisruptionBudget.md index f7477e660c..668fef25de 100644 --- a/kubernetes_asyncio/docs/V1PodDisruptionBudget.md +++ b/kubernetes/aio/docs/V1PodDisruptionBudget.md @@ -6,7 +6,7 @@ PodDisruptionBudget is an object to define the max disruption that can be caused Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1PodDisruptionBudgetSpec**](V1PodDisruptionBudgetSpec.md) | | [optional] **status** | [**V1PodDisruptionBudgetStatus**](V1PodDisruptionBudgetStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1PodDisruptionBudgetList.md b/kubernetes/aio/docs/V1PodDisruptionBudgetList.md similarity index 82% rename from kubernetes_asyncio/docs/V1PodDisruptionBudgetList.md rename to kubernetes/aio/docs/V1PodDisruptionBudgetList.md index ef14bc128c..c9d4122b6c 100644 --- a/kubernetes_asyncio/docs/V1PodDisruptionBudgetList.md +++ b/kubernetes/aio/docs/V1PodDisruptionBudgetList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1PodDisruptionBudget]**](V1PodDisruptionBudget.md) | Items is a list of PodDisruptionBudgets | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1PodDisruptionBudgetSpec.md b/kubernetes/aio/docs/V1PodDisruptionBudgetSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodDisruptionBudgetSpec.md rename to kubernetes/aio/docs/V1PodDisruptionBudgetSpec.md diff --git a/kubernetes_asyncio/docs/V1PodDisruptionBudgetStatus.md b/kubernetes/aio/docs/V1PodDisruptionBudgetStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodDisruptionBudgetStatus.md rename to kubernetes/aio/docs/V1PodDisruptionBudgetStatus.md diff --git a/kubernetes_asyncio/docs/V1PodExtendedResourceClaimStatus.md b/kubernetes/aio/docs/V1PodExtendedResourceClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodExtendedResourceClaimStatus.md rename to kubernetes/aio/docs/V1PodExtendedResourceClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1PodFailurePolicy.md b/kubernetes/aio/docs/V1PodFailurePolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodFailurePolicy.md rename to kubernetes/aio/docs/V1PodFailurePolicy.md diff --git a/kubernetes_asyncio/docs/V1PodFailurePolicyOnExitCodesRequirement.md b/kubernetes/aio/docs/V1PodFailurePolicyOnExitCodesRequirement.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodFailurePolicyOnExitCodesRequirement.md rename to kubernetes/aio/docs/V1PodFailurePolicyOnExitCodesRequirement.md diff --git a/kubernetes_asyncio/docs/V1PodFailurePolicyOnPodConditionsPattern.md b/kubernetes/aio/docs/V1PodFailurePolicyOnPodConditionsPattern.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodFailurePolicyOnPodConditionsPattern.md rename to kubernetes/aio/docs/V1PodFailurePolicyOnPodConditionsPattern.md diff --git a/kubernetes_asyncio/docs/V1PodFailurePolicyRule.md b/kubernetes/aio/docs/V1PodFailurePolicyRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodFailurePolicyRule.md rename to kubernetes/aio/docs/V1PodFailurePolicyRule.md diff --git a/kubernetes_asyncio/docs/V1PodIP.md b/kubernetes/aio/docs/V1PodIP.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodIP.md rename to kubernetes/aio/docs/V1PodIP.md diff --git a/kubernetes_asyncio/docs/V1PodList.md b/kubernetes/aio/docs/V1PodList.md similarity index 82% rename from kubernetes_asyncio/docs/V1PodList.md rename to kubernetes/aio/docs/V1PodList.md index 0402a5d8ab..273ffc54f7 100644 --- a/kubernetes_asyncio/docs/V1PodList.md +++ b/kubernetes/aio/docs/V1PodList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Pod]**](V1Pod.md) | List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1PodOS.md b/kubernetes/aio/docs/V1PodOS.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodOS.md rename to kubernetes/aio/docs/V1PodOS.md diff --git a/kubernetes_asyncio/docs/V1PodReadinessGate.md b/kubernetes/aio/docs/V1PodReadinessGate.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodReadinessGate.md rename to kubernetes/aio/docs/V1PodReadinessGate.md diff --git a/kubernetes_asyncio/docs/V1PodResourceClaim.md b/kubernetes/aio/docs/V1PodResourceClaim.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodResourceClaim.md rename to kubernetes/aio/docs/V1PodResourceClaim.md diff --git a/kubernetes_asyncio/docs/V1PodResourceClaimStatus.md b/kubernetes/aio/docs/V1PodResourceClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodResourceClaimStatus.md rename to kubernetes/aio/docs/V1PodResourceClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1PodSchedulingGate.md b/kubernetes/aio/docs/V1PodSchedulingGate.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodSchedulingGate.md rename to kubernetes/aio/docs/V1PodSchedulingGate.md diff --git a/kubernetes_asyncio/docs/V1PodSchedulingGroup.md b/kubernetes/aio/docs/V1PodSchedulingGroup.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodSchedulingGroup.md rename to kubernetes/aio/docs/V1PodSchedulingGroup.md diff --git a/kubernetes_asyncio/docs/V1PodSecurityContext.md b/kubernetes/aio/docs/V1PodSecurityContext.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodSecurityContext.md rename to kubernetes/aio/docs/V1PodSecurityContext.md diff --git a/kubernetes_asyncio/docs/V1PodSpec.md b/kubernetes/aio/docs/V1PodSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodSpec.md rename to kubernetes/aio/docs/V1PodSpec.md diff --git a/kubernetes_asyncio/docs/V1PodStatus.md b/kubernetes/aio/docs/V1PodStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodStatus.md rename to kubernetes/aio/docs/V1PodStatus.md diff --git a/kubernetes_asyncio/docs/V1PodTemplate.md b/kubernetes/aio/docs/V1PodTemplate.md similarity index 81% rename from kubernetes_asyncio/docs/V1PodTemplate.md rename to kubernetes/aio/docs/V1PodTemplate.md index 71f5fdd474..512b3832e2 100644 --- a/kubernetes_asyncio/docs/V1PodTemplate.md +++ b/kubernetes/aio/docs/V1PodTemplate.md @@ -6,7 +6,7 @@ PodTemplate describes a template for creating copies of a predefined pod. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1PodTemplateList.md b/kubernetes/aio/docs/V1PodTemplateList.md similarity index 81% rename from kubernetes_asyncio/docs/V1PodTemplateList.md rename to kubernetes/aio/docs/V1PodTemplateList.md index 6df355ab3a..0c15c3e548 100644 --- a/kubernetes_asyncio/docs/V1PodTemplateList.md +++ b/kubernetes/aio/docs/V1PodTemplateList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1PodTemplate]**](V1PodTemplate.md) | List of pod templates | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1PodTemplateSpec.md b/kubernetes/aio/docs/V1PodTemplateSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1PodTemplateSpec.md rename to kubernetes/aio/docs/V1PodTemplateSpec.md diff --git a/kubernetes_asyncio/docs/V1PolicyRule.md b/kubernetes/aio/docs/V1PolicyRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1PolicyRule.md rename to kubernetes/aio/docs/V1PolicyRule.md diff --git a/kubernetes_asyncio/docs/V1PolicyRulesWithSubjects.md b/kubernetes/aio/docs/V1PolicyRulesWithSubjects.md similarity index 100% rename from kubernetes_asyncio/docs/V1PolicyRulesWithSubjects.md rename to kubernetes/aio/docs/V1PolicyRulesWithSubjects.md diff --git a/kubernetes_asyncio/docs/V1PortStatus.md b/kubernetes/aio/docs/V1PortStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PortStatus.md rename to kubernetes/aio/docs/V1PortStatus.md diff --git a/kubernetes_asyncio/docs/V1PortworxVolumeSource.md b/kubernetes/aio/docs/V1PortworxVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1PortworxVolumeSource.md rename to kubernetes/aio/docs/V1PortworxVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1Preconditions.md b/kubernetes/aio/docs/V1Preconditions.md similarity index 100% rename from kubernetes_asyncio/docs/V1Preconditions.md rename to kubernetes/aio/docs/V1Preconditions.md diff --git a/kubernetes_asyncio/docs/V1PreferredSchedulingTerm.md b/kubernetes/aio/docs/V1PreferredSchedulingTerm.md similarity index 100% rename from kubernetes_asyncio/docs/V1PreferredSchedulingTerm.md rename to kubernetes/aio/docs/V1PreferredSchedulingTerm.md diff --git a/kubernetes_asyncio/docs/V1PriorityClass.md b/kubernetes/aio/docs/V1PriorityClass.md similarity index 90% rename from kubernetes_asyncio/docs/V1PriorityClass.md rename to kubernetes/aio/docs/V1PriorityClass.md index 8811e529cf..2bde92be99 100644 --- a/kubernetes_asyncio/docs/V1PriorityClass.md +++ b/kubernetes/aio/docs/V1PriorityClass.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **description** | **str** | description is an arbitrary string that usually provides guidelines on when this priority class should be used. | [optional] **global_default** | **bool** | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **preemption_policy** | **str** | preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. | [optional] **value** | **int** | value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. | [optional] diff --git a/kubernetes_asyncio/docs/V1PriorityClassList.md b/kubernetes/aio/docs/V1PriorityClassList.md similarity index 81% rename from kubernetes_asyncio/docs/V1PriorityClassList.md rename to kubernetes/aio/docs/V1PriorityClassList.md index c7f22f47c5..1878984f83 100644 --- a/kubernetes_asyncio/docs/V1PriorityClassList.md +++ b/kubernetes/aio/docs/V1PriorityClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1PriorityClass]**](V1PriorityClass.md) | items is the list of PriorityClasses | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1PriorityLevelConfiguration.md b/kubernetes/aio/docs/V1PriorityLevelConfiguration.md similarity index 83% rename from kubernetes_asyncio/docs/V1PriorityLevelConfiguration.md rename to kubernetes/aio/docs/V1PriorityLevelConfiguration.md index 399bda7993..d1b056ae44 100644 --- a/kubernetes_asyncio/docs/V1PriorityLevelConfiguration.md +++ b/kubernetes/aio/docs/V1PriorityLevelConfiguration.md @@ -6,7 +6,7 @@ PriorityLevelConfiguration represents the configuration of a priority level. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1PriorityLevelConfigurationSpec**](V1PriorityLevelConfigurationSpec.md) | | [optional] **status** | [**V1PriorityLevelConfigurationStatus**](V1PriorityLevelConfigurationStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1PriorityLevelConfigurationCondition.md b/kubernetes/aio/docs/V1PriorityLevelConfigurationCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1PriorityLevelConfigurationCondition.md rename to kubernetes/aio/docs/V1PriorityLevelConfigurationCondition.md diff --git a/kubernetes_asyncio/docs/V1PriorityLevelConfigurationList.md b/kubernetes/aio/docs/V1PriorityLevelConfigurationList.md similarity index 82% rename from kubernetes_asyncio/docs/V1PriorityLevelConfigurationList.md rename to kubernetes/aio/docs/V1PriorityLevelConfigurationList.md index 7bd6cfc61a..e01cbf57df 100644 --- a/kubernetes_asyncio/docs/V1PriorityLevelConfigurationList.md +++ b/kubernetes/aio/docs/V1PriorityLevelConfigurationList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1PriorityLevelConfiguration]**](V1PriorityLevelConfiguration.md) | `items` is a list of request-priorities. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1PriorityLevelConfigurationReference.md b/kubernetes/aio/docs/V1PriorityLevelConfigurationReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1PriorityLevelConfigurationReference.md rename to kubernetes/aio/docs/V1PriorityLevelConfigurationReference.md diff --git a/kubernetes_asyncio/docs/V1PriorityLevelConfigurationSpec.md b/kubernetes/aio/docs/V1PriorityLevelConfigurationSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1PriorityLevelConfigurationSpec.md rename to kubernetes/aio/docs/V1PriorityLevelConfigurationSpec.md diff --git a/kubernetes_asyncio/docs/V1PriorityLevelConfigurationStatus.md b/kubernetes/aio/docs/V1PriorityLevelConfigurationStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1PriorityLevelConfigurationStatus.md rename to kubernetes/aio/docs/V1PriorityLevelConfigurationStatus.md diff --git a/kubernetes_asyncio/docs/V1Probe.md b/kubernetes/aio/docs/V1Probe.md similarity index 100% rename from kubernetes_asyncio/docs/V1Probe.md rename to kubernetes/aio/docs/V1Probe.md diff --git a/kubernetes_asyncio/docs/V1ProjectedVolumeSource.md b/kubernetes/aio/docs/V1ProjectedVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ProjectedVolumeSource.md rename to kubernetes/aio/docs/V1ProjectedVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1QueuingConfiguration.md b/kubernetes/aio/docs/V1QueuingConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1QueuingConfiguration.md rename to kubernetes/aio/docs/V1QueuingConfiguration.md diff --git a/kubernetes_asyncio/docs/V1QuobyteVolumeSource.md b/kubernetes/aio/docs/V1QuobyteVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1QuobyteVolumeSource.md rename to kubernetes/aio/docs/V1QuobyteVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1RBDPersistentVolumeSource.md b/kubernetes/aio/docs/V1RBDPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1RBDPersistentVolumeSource.md rename to kubernetes/aio/docs/V1RBDPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1RBDVolumeSource.md b/kubernetes/aio/docs/V1RBDVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1RBDVolumeSource.md rename to kubernetes/aio/docs/V1RBDVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ReplicaSet.md b/kubernetes/aio/docs/V1ReplicaSet.md similarity index 82% rename from kubernetes_asyncio/docs/V1ReplicaSet.md rename to kubernetes/aio/docs/V1ReplicaSet.md index a977ce7e37..4bd7174e0d 100644 --- a/kubernetes_asyncio/docs/V1ReplicaSet.md +++ b/kubernetes/aio/docs/V1ReplicaSet.md @@ -6,7 +6,7 @@ ReplicaSet ensures that a specified number of pod replicas are running at any gi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ReplicaSetSpec**](V1ReplicaSetSpec.md) | | [optional] **status** | [**V1ReplicaSetStatus**](V1ReplicaSetStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1ReplicaSetCondition.md b/kubernetes/aio/docs/V1ReplicaSetCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1ReplicaSetCondition.md rename to kubernetes/aio/docs/V1ReplicaSetCondition.md diff --git a/kubernetes_asyncio/docs/V1ReplicaSetList.md b/kubernetes/aio/docs/V1ReplicaSetList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ReplicaSetList.md rename to kubernetes/aio/docs/V1ReplicaSetList.md index df68f49b86..a8d6b8f5b9 100644 --- a/kubernetes_asyncio/docs/V1ReplicaSetList.md +++ b/kubernetes/aio/docs/V1ReplicaSetList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ReplicaSet]**](V1ReplicaSet.md) | List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ReplicaSetSpec.md b/kubernetes/aio/docs/V1ReplicaSetSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ReplicaSetSpec.md rename to kubernetes/aio/docs/V1ReplicaSetSpec.md diff --git a/kubernetes_asyncio/docs/V1ReplicaSetStatus.md b/kubernetes/aio/docs/V1ReplicaSetStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ReplicaSetStatus.md rename to kubernetes/aio/docs/V1ReplicaSetStatus.md diff --git a/kubernetes_asyncio/docs/V1ReplicationController.md b/kubernetes/aio/docs/V1ReplicationController.md similarity index 83% rename from kubernetes_asyncio/docs/V1ReplicationController.md rename to kubernetes/aio/docs/V1ReplicationController.md index d62dcc3d13..b1838c4dc4 100644 --- a/kubernetes_asyncio/docs/V1ReplicationController.md +++ b/kubernetes/aio/docs/V1ReplicationController.md @@ -6,7 +6,7 @@ ReplicationController represents the configuration of a replication controller. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ReplicationControllerSpec**](V1ReplicationControllerSpec.md) | | [optional] **status** | [**V1ReplicationControllerStatus**](V1ReplicationControllerStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1ReplicationControllerCondition.md b/kubernetes/aio/docs/V1ReplicationControllerCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1ReplicationControllerCondition.md rename to kubernetes/aio/docs/V1ReplicationControllerCondition.md diff --git a/kubernetes_asyncio/docs/V1ReplicationControllerList.md b/kubernetes/aio/docs/V1ReplicationControllerList.md similarity index 83% rename from kubernetes_asyncio/docs/V1ReplicationControllerList.md rename to kubernetes/aio/docs/V1ReplicationControllerList.md index e2534a93ea..e4914fb67f 100644 --- a/kubernetes_asyncio/docs/V1ReplicationControllerList.md +++ b/kubernetes/aio/docs/V1ReplicationControllerList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ReplicationController]**](V1ReplicationController.md) | List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ReplicationControllerSpec.md b/kubernetes/aio/docs/V1ReplicationControllerSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ReplicationControllerSpec.md rename to kubernetes/aio/docs/V1ReplicationControllerSpec.md diff --git a/kubernetes_asyncio/docs/V1ReplicationControllerStatus.md b/kubernetes/aio/docs/V1ReplicationControllerStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ReplicationControllerStatus.md rename to kubernetes/aio/docs/V1ReplicationControllerStatus.md diff --git a/kubernetes_asyncio/docs/V1ResourceAttributes.md b/kubernetes/aio/docs/V1ResourceAttributes.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceAttributes.md rename to kubernetes/aio/docs/V1ResourceAttributes.md diff --git a/kubernetes_asyncio/docs/V1ResourceClaimConsumerReference.md b/kubernetes/aio/docs/V1ResourceClaimConsumerReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceClaimConsumerReference.md rename to kubernetes/aio/docs/V1ResourceClaimConsumerReference.md diff --git a/kubernetes_asyncio/docs/V1ResourceClaimList.md b/kubernetes/aio/docs/V1ResourceClaimList.md similarity index 81% rename from kubernetes_asyncio/docs/V1ResourceClaimList.md rename to kubernetes/aio/docs/V1ResourceClaimList.md index 65f6ae2d9e..35114f9d5f 100644 --- a/kubernetes_asyncio/docs/V1ResourceClaimList.md +++ b/kubernetes/aio/docs/V1ResourceClaimList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[ResourceV1ResourceClaim]**](ResourceV1ResourceClaim.md) | Items is the list of resource claims. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ResourceClaimSpec.md b/kubernetes/aio/docs/V1ResourceClaimSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceClaimSpec.md rename to kubernetes/aio/docs/V1ResourceClaimSpec.md diff --git a/kubernetes_asyncio/docs/V1ResourceClaimStatus.md b/kubernetes/aio/docs/V1ResourceClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceClaimStatus.md rename to kubernetes/aio/docs/V1ResourceClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1ResourceClaimTemplate.md b/kubernetes/aio/docs/V1ResourceClaimTemplate.md similarity index 81% rename from kubernetes_asyncio/docs/V1ResourceClaimTemplate.md rename to kubernetes/aio/docs/V1ResourceClaimTemplate.md index a55238d4c1..acc11a8719 100644 --- a/kubernetes_asyncio/docs/V1ResourceClaimTemplate.md +++ b/kubernetes/aio/docs/V1ResourceClaimTemplate.md @@ -6,7 +6,7 @@ ResourceClaimTemplate is used to produce ResourceClaim objects. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ResourceClaimTemplateSpec**](V1ResourceClaimTemplateSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1ResourceClaimTemplateList.md b/kubernetes/aio/docs/V1ResourceClaimTemplateList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ResourceClaimTemplateList.md rename to kubernetes/aio/docs/V1ResourceClaimTemplateList.md index 5e6989a927..bf4a850b1a 100644 --- a/kubernetes_asyncio/docs/V1ResourceClaimTemplateList.md +++ b/kubernetes/aio/docs/V1ResourceClaimTemplateList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ResourceClaimTemplate]**](V1ResourceClaimTemplate.md) | Items is the list of resource claim templates. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ResourceClaimTemplateSpec.md b/kubernetes/aio/docs/V1ResourceClaimTemplateSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceClaimTemplateSpec.md rename to kubernetes/aio/docs/V1ResourceClaimTemplateSpec.md diff --git a/kubernetes_asyncio/docs/V1ResourceFieldSelector.md b/kubernetes/aio/docs/V1ResourceFieldSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceFieldSelector.md rename to kubernetes/aio/docs/V1ResourceFieldSelector.md diff --git a/kubernetes_asyncio/docs/V1ResourceHealth.md b/kubernetes/aio/docs/V1ResourceHealth.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceHealth.md rename to kubernetes/aio/docs/V1ResourceHealth.md diff --git a/kubernetes_asyncio/docs/V1ResourcePolicyRule.md b/kubernetes/aio/docs/V1ResourcePolicyRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourcePolicyRule.md rename to kubernetes/aio/docs/V1ResourcePolicyRule.md diff --git a/kubernetes_asyncio/docs/V1ResourcePool.md b/kubernetes/aio/docs/V1ResourcePool.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourcePool.md rename to kubernetes/aio/docs/V1ResourcePool.md diff --git a/kubernetes_asyncio/docs/V1ResourceQuota.md b/kubernetes/aio/docs/V1ResourceQuota.md similarity index 82% rename from kubernetes_asyncio/docs/V1ResourceQuota.md rename to kubernetes/aio/docs/V1ResourceQuota.md index 95ed4a0dd6..d5034143d5 100644 --- a/kubernetes_asyncio/docs/V1ResourceQuota.md +++ b/kubernetes/aio/docs/V1ResourceQuota.md @@ -6,7 +6,7 @@ ResourceQuota sets aggregate quota restrictions enforced per namespace Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ResourceQuotaSpec**](V1ResourceQuotaSpec.md) | | [optional] **status** | [**V1ResourceQuotaStatus**](V1ResourceQuotaStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1ResourceQuotaList.md b/kubernetes/aio/docs/V1ResourceQuotaList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ResourceQuotaList.md rename to kubernetes/aio/docs/V1ResourceQuotaList.md index e25cfc0da9..767ab6e396 100644 --- a/kubernetes_asyncio/docs/V1ResourceQuotaList.md +++ b/kubernetes/aio/docs/V1ResourceQuotaList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ResourceQuota]**](V1ResourceQuota.md) | Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ResourceQuotaSpec.md b/kubernetes/aio/docs/V1ResourceQuotaSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceQuotaSpec.md rename to kubernetes/aio/docs/V1ResourceQuotaSpec.md diff --git a/kubernetes_asyncio/docs/V1ResourceQuotaStatus.md b/kubernetes/aio/docs/V1ResourceQuotaStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceQuotaStatus.md rename to kubernetes/aio/docs/V1ResourceQuotaStatus.md diff --git a/kubernetes_asyncio/docs/V1ResourceRequirements.md b/kubernetes/aio/docs/V1ResourceRequirements.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceRequirements.md rename to kubernetes/aio/docs/V1ResourceRequirements.md diff --git a/kubernetes_asyncio/docs/V1ResourceRule.md b/kubernetes/aio/docs/V1ResourceRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceRule.md rename to kubernetes/aio/docs/V1ResourceRule.md diff --git a/kubernetes_asyncio/docs/V1ResourceSlice.md b/kubernetes/aio/docs/V1ResourceSlice.md similarity index 91% rename from kubernetes_asyncio/docs/V1ResourceSlice.md rename to kubernetes/aio/docs/V1ResourceSlice.md index cf1d63164a..0538f83324 100644 --- a/kubernetes_asyncio/docs/V1ResourceSlice.md +++ b/kubernetes/aio/docs/V1ResourceSlice.md @@ -6,7 +6,7 @@ ResourceSlice represents one or more resources in a pool of similar resources, m Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ResourceSliceSpec**](V1ResourceSliceSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1ResourceSliceList.md b/kubernetes/aio/docs/V1ResourceSliceList.md similarity index 81% rename from kubernetes_asyncio/docs/V1ResourceSliceList.md rename to kubernetes/aio/docs/V1ResourceSliceList.md index 39de3793a4..57837eec7e 100644 --- a/kubernetes_asyncio/docs/V1ResourceSliceList.md +++ b/kubernetes/aio/docs/V1ResourceSliceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ResourceSlice]**](V1ResourceSlice.md) | Items is the list of resource ResourceSlices. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ResourceSliceSpec.md b/kubernetes/aio/docs/V1ResourceSliceSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceSliceSpec.md rename to kubernetes/aio/docs/V1ResourceSliceSpec.md diff --git a/kubernetes_asyncio/docs/V1ResourceStatus.md b/kubernetes/aio/docs/V1ResourceStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ResourceStatus.md rename to kubernetes/aio/docs/V1ResourceStatus.md diff --git a/kubernetes_asyncio/docs/V1Role.md b/kubernetes/aio/docs/V1Role.md similarity index 82% rename from kubernetes_asyncio/docs/V1Role.md rename to kubernetes/aio/docs/V1Role.md index 0b85f2243f..af74787986 100644 --- a/kubernetes_asyncio/docs/V1Role.md +++ b/kubernetes/aio/docs/V1Role.md @@ -6,7 +6,7 @@ Role is a namespaced, logical grouping of PolicyRules that can be referenced as Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **rules** | [**list[V1PolicyRule]**](V1PolicyRule.md) | Rules holds all the PolicyRules for this Role | [optional] diff --git a/kubernetes_asyncio/docs/V1RoleBinding.md b/kubernetes/aio/docs/V1RoleBinding.md similarity index 85% rename from kubernetes_asyncio/docs/V1RoleBinding.md rename to kubernetes/aio/docs/V1RoleBinding.md index 9dc99b3dac..f1ebad1f56 100644 --- a/kubernetes_asyncio/docs/V1RoleBinding.md +++ b/kubernetes/aio/docs/V1RoleBinding.md @@ -6,7 +6,7 @@ RoleBinding references a role, but does not contain it. It can reference a Role Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **role_ref** | [**V1RoleRef**](V1RoleRef.md) | | **subjects** | [**list[RbacV1Subject]**](RbacV1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes_asyncio/docs/V1RoleBindingList.md b/kubernetes/aio/docs/V1RoleBindingList.md similarity index 81% rename from kubernetes_asyncio/docs/V1RoleBindingList.md rename to kubernetes/aio/docs/V1RoleBindingList.md index e369e68970..a25aec548e 100644 --- a/kubernetes_asyncio/docs/V1RoleBindingList.md +++ b/kubernetes/aio/docs/V1RoleBindingList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1RoleBinding]**](V1RoleBinding.md) | Items is a list of RoleBindings | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1RoleList.md b/kubernetes/aio/docs/V1RoleList.md similarity index 80% rename from kubernetes_asyncio/docs/V1RoleList.md rename to kubernetes/aio/docs/V1RoleList.md index c20c620a51..4c30c6e530 100644 --- a/kubernetes_asyncio/docs/V1RoleList.md +++ b/kubernetes/aio/docs/V1RoleList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Role]**](V1Role.md) | Items is a list of Roles | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1RoleRef.md b/kubernetes/aio/docs/V1RoleRef.md similarity index 100% rename from kubernetes_asyncio/docs/V1RoleRef.md rename to kubernetes/aio/docs/V1RoleRef.md diff --git a/kubernetes_asyncio/docs/V1RollingUpdateDaemonSet.md b/kubernetes/aio/docs/V1RollingUpdateDaemonSet.md similarity index 100% rename from kubernetes_asyncio/docs/V1RollingUpdateDaemonSet.md rename to kubernetes/aio/docs/V1RollingUpdateDaemonSet.md diff --git a/kubernetes_asyncio/docs/V1RollingUpdateDeployment.md b/kubernetes/aio/docs/V1RollingUpdateDeployment.md similarity index 100% rename from kubernetes_asyncio/docs/V1RollingUpdateDeployment.md rename to kubernetes/aio/docs/V1RollingUpdateDeployment.md diff --git a/kubernetes_asyncio/docs/V1RollingUpdateStatefulSetStrategy.md b/kubernetes/aio/docs/V1RollingUpdateStatefulSetStrategy.md similarity index 100% rename from kubernetes_asyncio/docs/V1RollingUpdateStatefulSetStrategy.md rename to kubernetes/aio/docs/V1RollingUpdateStatefulSetStrategy.md diff --git a/kubernetes_asyncio/docs/V1RuleWithOperations.md b/kubernetes/aio/docs/V1RuleWithOperations.md similarity index 100% rename from kubernetes_asyncio/docs/V1RuleWithOperations.md rename to kubernetes/aio/docs/V1RuleWithOperations.md diff --git a/kubernetes_asyncio/docs/V1RuntimeClass.md b/kubernetes/aio/docs/V1RuntimeClass.md similarity index 90% rename from kubernetes_asyncio/docs/V1RuntimeClass.md rename to kubernetes/aio/docs/V1RuntimeClass.md index 4e79dd89b1..57a2e6c105 100644 --- a/kubernetes_asyncio/docs/V1RuntimeClass.md +++ b/kubernetes/aio/docs/V1RuntimeClass.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **handler** | **str** | handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **overhead** | [**V1Overhead**](V1Overhead.md) | | [optional] **scheduling** | [**V1Scheduling**](V1Scheduling.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1RuntimeClassList.md b/kubernetes/aio/docs/V1RuntimeClassList.md similarity index 81% rename from kubernetes_asyncio/docs/V1RuntimeClassList.md rename to kubernetes/aio/docs/V1RuntimeClassList.md index b37333d994..19ea52cf5e 100644 --- a/kubernetes_asyncio/docs/V1RuntimeClassList.md +++ b/kubernetes/aio/docs/V1RuntimeClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1RuntimeClass]**](V1RuntimeClass.md) | items is a list of schema objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1SELinuxOptions.md b/kubernetes/aio/docs/V1SELinuxOptions.md similarity index 100% rename from kubernetes_asyncio/docs/V1SELinuxOptions.md rename to kubernetes/aio/docs/V1SELinuxOptions.md diff --git a/kubernetes_asyncio/docs/V1Scale.md b/kubernetes/aio/docs/V1Scale.md similarity index 82% rename from kubernetes_asyncio/docs/V1Scale.md rename to kubernetes/aio/docs/V1Scale.md index 0fe41b9abd..f0ece8ddc5 100644 --- a/kubernetes_asyncio/docs/V1Scale.md +++ b/kubernetes/aio/docs/V1Scale.md @@ -6,7 +6,7 @@ Scale represents a scaling request for a resource. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ScaleSpec**](V1ScaleSpec.md) | | [optional] **status** | [**V1ScaleStatus**](V1ScaleStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1ScaleIOPersistentVolumeSource.md b/kubernetes/aio/docs/V1ScaleIOPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ScaleIOPersistentVolumeSource.md rename to kubernetes/aio/docs/V1ScaleIOPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ScaleIOVolumeSource.md b/kubernetes/aio/docs/V1ScaleIOVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1ScaleIOVolumeSource.md rename to kubernetes/aio/docs/V1ScaleIOVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1ScaleSpec.md b/kubernetes/aio/docs/V1ScaleSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ScaleSpec.md rename to kubernetes/aio/docs/V1ScaleSpec.md diff --git a/kubernetes_asyncio/docs/V1ScaleStatus.md b/kubernetes/aio/docs/V1ScaleStatus.md similarity index 75% rename from kubernetes_asyncio/docs/V1ScaleStatus.md rename to kubernetes/aio/docs/V1ScaleStatus.md index 38d3834ac1..320ddd68a4 100644 --- a/kubernetes_asyncio/docs/V1ScaleStatus.md +++ b/kubernetes/aio/docs/V1ScaleStatus.md @@ -6,7 +6,7 @@ ScaleStatus represents the current status of a scale subresource. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **replicas** | **int** | replicas is the actual number of observed instances of the scaled object. | -**selector** | **str** | selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by kubernetes_asyncio.clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | [optional] +**selector** | **str** | selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by kubernetes.aio.clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1Scheduling.md b/kubernetes/aio/docs/V1Scheduling.md similarity index 100% rename from kubernetes_asyncio/docs/V1Scheduling.md rename to kubernetes/aio/docs/V1Scheduling.md diff --git a/kubernetes_asyncio/docs/V1ScopeSelector.md b/kubernetes/aio/docs/V1ScopeSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1ScopeSelector.md rename to kubernetes/aio/docs/V1ScopeSelector.md diff --git a/kubernetes_asyncio/docs/V1ScopedResourceSelectorRequirement.md b/kubernetes/aio/docs/V1ScopedResourceSelectorRequirement.md similarity index 100% rename from kubernetes_asyncio/docs/V1ScopedResourceSelectorRequirement.md rename to kubernetes/aio/docs/V1ScopedResourceSelectorRequirement.md diff --git a/kubernetes_asyncio/docs/V1SeccompProfile.md b/kubernetes/aio/docs/V1SeccompProfile.md similarity index 100% rename from kubernetes_asyncio/docs/V1SeccompProfile.md rename to kubernetes/aio/docs/V1SeccompProfile.md diff --git a/kubernetes_asyncio/docs/V1Secret.md b/kubernetes/aio/docs/V1Secret.md similarity index 90% rename from kubernetes_asyncio/docs/V1Secret.md rename to kubernetes/aio/docs/V1Secret.md index cd5187e17c..1ab22cc8a0 100644 --- a/kubernetes_asyncio/docs/V1Secret.md +++ b/kubernetes/aio/docs/V1Secret.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **data** | **dict[str, str]** | Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional] **immutable** | **bool** | Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **string_data** | **dict[str, str]** | stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. | [optional] **type** | **str** | Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types | [optional] diff --git a/kubernetes_asyncio/docs/V1SecretEnvSource.md b/kubernetes/aio/docs/V1SecretEnvSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1SecretEnvSource.md rename to kubernetes/aio/docs/V1SecretEnvSource.md diff --git a/kubernetes_asyncio/docs/V1SecretKeySelector.md b/kubernetes/aio/docs/V1SecretKeySelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1SecretKeySelector.md rename to kubernetes/aio/docs/V1SecretKeySelector.md diff --git a/kubernetes_asyncio/docs/V1SecretList.md b/kubernetes/aio/docs/V1SecretList.md similarity index 82% rename from kubernetes_asyncio/docs/V1SecretList.md rename to kubernetes/aio/docs/V1SecretList.md index 7694c0f36a..c7bbd66645 100644 --- a/kubernetes_asyncio/docs/V1SecretList.md +++ b/kubernetes/aio/docs/V1SecretList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Secret]**](V1Secret.md) | Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1SecretProjection.md b/kubernetes/aio/docs/V1SecretProjection.md similarity index 100% rename from kubernetes_asyncio/docs/V1SecretProjection.md rename to kubernetes/aio/docs/V1SecretProjection.md diff --git a/kubernetes_asyncio/docs/V1SecretReference.md b/kubernetes/aio/docs/V1SecretReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1SecretReference.md rename to kubernetes/aio/docs/V1SecretReference.md diff --git a/kubernetes_asyncio/docs/V1SecretVolumeSource.md b/kubernetes/aio/docs/V1SecretVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1SecretVolumeSource.md rename to kubernetes/aio/docs/V1SecretVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1SecurityContext.md b/kubernetes/aio/docs/V1SecurityContext.md similarity index 100% rename from kubernetes_asyncio/docs/V1SecurityContext.md rename to kubernetes/aio/docs/V1SecurityContext.md diff --git a/kubernetes_asyncio/docs/V1SelectableField.md b/kubernetes/aio/docs/V1SelectableField.md similarity index 100% rename from kubernetes_asyncio/docs/V1SelectableField.md rename to kubernetes/aio/docs/V1SelectableField.md diff --git a/kubernetes_asyncio/docs/V1SelfSubjectAccessReview.md b/kubernetes/aio/docs/V1SelfSubjectAccessReview.md similarity index 85% rename from kubernetes_asyncio/docs/V1SelfSubjectAccessReview.md rename to kubernetes/aio/docs/V1SelfSubjectAccessReview.md index fd48fcc50c..8b50289a13 100644 --- a/kubernetes_asyncio/docs/V1SelfSubjectAccessReview.md +++ b/kubernetes/aio/docs/V1SelfSubjectAccessReview.md @@ -6,7 +6,7 @@ SelfSubjectAccessReview checks whether or the current user can perform an action Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1SelfSubjectAccessReviewSpec**](V1SelfSubjectAccessReviewSpec.md) | | **status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1SelfSubjectAccessReviewSpec.md b/kubernetes/aio/docs/V1SelfSubjectAccessReviewSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1SelfSubjectAccessReviewSpec.md rename to kubernetes/aio/docs/V1SelfSubjectAccessReviewSpec.md diff --git a/kubernetes_asyncio/docs/V1SelfSubjectReview.md b/kubernetes/aio/docs/V1SelfSubjectReview.md similarity index 85% rename from kubernetes_asyncio/docs/V1SelfSubjectReview.md rename to kubernetes/aio/docs/V1SelfSubjectReview.md index c0c1a14a88..3153d3a0ca 100644 --- a/kubernetes_asyncio/docs/V1SelfSubjectReview.md +++ b/kubernetes/aio/docs/V1SelfSubjectReview.md @@ -6,7 +6,7 @@ SelfSubjectReview contains the user information that the kube-apiserver has abou Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **status** | [**V1SelfSubjectReviewStatus**](V1SelfSubjectReviewStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1SelfSubjectReviewStatus.md b/kubernetes/aio/docs/V1SelfSubjectReviewStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1SelfSubjectReviewStatus.md rename to kubernetes/aio/docs/V1SelfSubjectReviewStatus.md diff --git a/kubernetes_asyncio/docs/V1SelfSubjectRulesReview.md b/kubernetes/aio/docs/V1SelfSubjectRulesReview.md similarity index 88% rename from kubernetes_asyncio/docs/V1SelfSubjectRulesReview.md rename to kubernetes/aio/docs/V1SelfSubjectRulesReview.md index 7d2f48d8c1..cb9a2dfa5f 100644 --- a/kubernetes_asyncio/docs/V1SelfSubjectRulesReview.md +++ b/kubernetes/aio/docs/V1SelfSubjectRulesReview.md @@ -6,7 +6,7 @@ SelfSubjectRulesReview enumerates the set of actions the current user can perfor Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1SelfSubjectRulesReviewSpec**](V1SelfSubjectRulesReviewSpec.md) | | **status** | [**V1SubjectRulesReviewStatus**](V1SubjectRulesReviewStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1SelfSubjectRulesReviewSpec.md b/kubernetes/aio/docs/V1SelfSubjectRulesReviewSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1SelfSubjectRulesReviewSpec.md rename to kubernetes/aio/docs/V1SelfSubjectRulesReviewSpec.md diff --git a/kubernetes/aio/docs/V1ServerAddressByClientCIDR.md b/kubernetes/aio/docs/V1ServerAddressByClientCIDR.md new file mode 100644 index 0000000000..40afcdeaf3 --- /dev/null +++ b/kubernetes/aio/docs/V1ServerAddressByClientCIDR.md @@ -0,0 +1,13 @@ +# V1ServerAddressByClientCIDR + +ServerAddressByClientCIDR helps the kubernetes.aio.client to determine the server address that they should use, depending on the kubernetes.aio.clientCIDR that they match. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kubernetes.aio.client_cidr** | **str** | The CIDR with which kubernetes.aio.clients can match their IP to figure out the server address that they should use. | +**server_address** | **str** | Address of this server, suitable for a kubernetes.aio.client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes_asyncio/docs/V1Service.md b/kubernetes/aio/docs/V1Service.md similarity index 84% rename from kubernetes_asyncio/docs/V1Service.md rename to kubernetes/aio/docs/V1Service.md index b751a592e1..8ce1ab776c 100644 --- a/kubernetes_asyncio/docs/V1Service.md +++ b/kubernetes/aio/docs/V1Service.md @@ -6,7 +6,7 @@ Service is a named abstraction of software service (for example, mysql) consisti Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ServiceSpec**](V1ServiceSpec.md) | | [optional] **status** | [**V1ServiceStatus**](V1ServiceStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1ServiceAccount.md b/kubernetes/aio/docs/V1ServiceAccount.md similarity index 92% rename from kubernetes_asyncio/docs/V1ServiceAccount.md rename to kubernetes/aio/docs/V1ServiceAccount.md index ae5367c18f..bdcd8a7332 100644 --- a/kubernetes_asyncio/docs/V1ServiceAccount.md +++ b/kubernetes/aio/docs/V1ServiceAccount.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **automount_service_account_token** | **bool** | AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. | [optional] **image_pull_secrets** | [**list[V1LocalObjectReference]**](V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **secrets** | [**list[V1ObjectReference]**](V1ObjectReference.md) | Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret | [optional] diff --git a/kubernetes_asyncio/docs/V1ServiceAccountList.md b/kubernetes/aio/docs/V1ServiceAccountList.md similarity index 83% rename from kubernetes_asyncio/docs/V1ServiceAccountList.md rename to kubernetes/aio/docs/V1ServiceAccountList.md index f535990a48..2f3fa79fe2 100644 --- a/kubernetes_asyncio/docs/V1ServiceAccountList.md +++ b/kubernetes/aio/docs/V1ServiceAccountList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ServiceAccount]**](V1ServiceAccount.md) | List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ServiceAccountSubject.md b/kubernetes/aio/docs/V1ServiceAccountSubject.md similarity index 100% rename from kubernetes_asyncio/docs/V1ServiceAccountSubject.md rename to kubernetes/aio/docs/V1ServiceAccountSubject.md diff --git a/kubernetes_asyncio/docs/V1ServiceAccountTokenProjection.md b/kubernetes/aio/docs/V1ServiceAccountTokenProjection.md similarity index 100% rename from kubernetes_asyncio/docs/V1ServiceAccountTokenProjection.md rename to kubernetes/aio/docs/V1ServiceAccountTokenProjection.md diff --git a/kubernetes_asyncio/docs/V1ServiceBackendPort.md b/kubernetes/aio/docs/V1ServiceBackendPort.md similarity index 100% rename from kubernetes_asyncio/docs/V1ServiceBackendPort.md rename to kubernetes/aio/docs/V1ServiceBackendPort.md diff --git a/kubernetes_asyncio/docs/V1ServiceCIDR.md b/kubernetes/aio/docs/V1ServiceCIDR.md similarity index 83% rename from kubernetes_asyncio/docs/V1ServiceCIDR.md rename to kubernetes/aio/docs/V1ServiceCIDR.md index 4e55cfdeff..9ae7a228c1 100644 --- a/kubernetes_asyncio/docs/V1ServiceCIDR.md +++ b/kubernetes/aio/docs/V1ServiceCIDR.md @@ -6,7 +6,7 @@ ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ServiceCIDRSpec**](V1ServiceCIDRSpec.md) | | [optional] **status** | [**V1ServiceCIDRStatus**](V1ServiceCIDRStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1ServiceCIDRList.md b/kubernetes/aio/docs/V1ServiceCIDRList.md similarity index 81% rename from kubernetes_asyncio/docs/V1ServiceCIDRList.md rename to kubernetes/aio/docs/V1ServiceCIDRList.md index e66d8bea15..ffa6d3bf44 100644 --- a/kubernetes_asyncio/docs/V1ServiceCIDRList.md +++ b/kubernetes/aio/docs/V1ServiceCIDRList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ServiceCIDR]**](V1ServiceCIDR.md) | items is the list of ServiceCIDRs. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ServiceCIDRSpec.md b/kubernetes/aio/docs/V1ServiceCIDRSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ServiceCIDRSpec.md rename to kubernetes/aio/docs/V1ServiceCIDRSpec.md diff --git a/kubernetes_asyncio/docs/V1ServiceCIDRStatus.md b/kubernetes/aio/docs/V1ServiceCIDRStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ServiceCIDRStatus.md rename to kubernetes/aio/docs/V1ServiceCIDRStatus.md diff --git a/kubernetes_asyncio/docs/V1ServiceList.md b/kubernetes/aio/docs/V1ServiceList.md similarity index 80% rename from kubernetes_asyncio/docs/V1ServiceList.md rename to kubernetes/aio/docs/V1ServiceList.md index 71636175e7..db7fb717ea 100644 --- a/kubernetes_asyncio/docs/V1ServiceList.md +++ b/kubernetes/aio/docs/V1ServiceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1Service]**](V1Service.md) | List of services | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ServicePort.md b/kubernetes/aio/docs/V1ServicePort.md similarity index 100% rename from kubernetes_asyncio/docs/V1ServicePort.md rename to kubernetes/aio/docs/V1ServicePort.md diff --git a/kubernetes_asyncio/docs/V1ServiceSpec.md b/kubernetes/aio/docs/V1ServiceSpec.md similarity index 89% rename from kubernetes_asyncio/docs/V1ServiceSpec.md rename to kubernetes/aio/docs/V1ServiceSpec.md index 7a27744576..4765a49c24 100644 --- a/kubernetes_asyncio/docs/V1ServiceSpec.md +++ b/kubernetes/aio/docs/V1ServiceSpec.md @@ -7,21 +7,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **allocate_load_balancer_node_ports** | **bool** | allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is \"true\". It may be set to \"false\" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. | [optional] **cluster_ip** | **str** | clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] -**cluster_ips** | **list[str]** | ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, kubernetes_asyncio.clients must ensure that clusterIPs[0] and clusterIP have the same value. This field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] +**cluster_ips** | **list[str]** | ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, kubernetes.aio.clients must ensure that clusterIPs[0] and clusterIP have the same value. This field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] **external_ips** | **list[str]** | externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. | [optional] **external_name** | **str** | externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\". | [optional] -**external_traffic_policy** | **str** | externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's \"externally-facing\" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the kubernetes_asyncio.client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get \"Cluster\" semantics, but kubernetes_asyncio.clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node. | [optional] +**external_traffic_policy** | **str** | externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's \"externally-facing\" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the kubernetes.aio.client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get \"Cluster\" semantics, but kubernetes.aio.clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node. | [optional] **health_check_node_port** | **int** | healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set. | [optional] **internal_traffic_policy** | **str** | InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. If set to \"Local\", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). | [optional] **ip_families** | **list[str]** | IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are \"IPv4\" and \"IPv6\". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to \"headless\" services. This field will be wiped when updating a Service to type ExternalName. This field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. | [optional] **ip_family_policy** | **str** | IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. If there is no value provided, then this field will be set to SingleStack. Services can be \"SingleStack\" (a single IP family), \"PreferDualStack\" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or \"RequireDualStack\" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName. | [optional] **load_balancer_class** | **str** | loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type. | [optional] **load_balancer_ip** | **str** | Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations. Using it is non-portable and it may not support dual-stack. Users are encouraged to use implementation-specific annotations when available. | [optional] -**load_balancer_source_ranges** | **list[str]** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified kubernetes_asyncio.client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ | [optional] +**load_balancer_source_ranges** | **list[str]** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified kubernetes.aio.client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ | [optional] **ports** | [**list[V1ServicePort]**](V1ServicePort.md) | The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] **publish_not_ready_addresses** | **bool** | publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior. | [optional] **selector** | **dict[str, str]** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ | [optional] -**session_affinity** | **str** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable kubernetes_asyncio.client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] +**session_affinity** | **str** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable kubernetes.aio.client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] **session_affinity_config** | [**V1SessionAffinityConfig**](V1SessionAffinityConfig.md) | | [optional] **traffic_distribution** | **str** | TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are in the same zone. | [optional] **type** | **str** | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types | [optional] diff --git a/kubernetes_asyncio/docs/V1ServiceStatus.md b/kubernetes/aio/docs/V1ServiceStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ServiceStatus.md rename to kubernetes/aio/docs/V1ServiceStatus.md diff --git a/kubernetes_asyncio/docs/V1SessionAffinityConfig.md b/kubernetes/aio/docs/V1SessionAffinityConfig.md similarity index 79% rename from kubernetes_asyncio/docs/V1SessionAffinityConfig.md rename to kubernetes/aio/docs/V1SessionAffinityConfig.md index f7abc77116..9bc83f30f9 100644 --- a/kubernetes_asyncio/docs/V1SessionAffinityConfig.md +++ b/kubernetes/aio/docs/V1SessionAffinityConfig.md @@ -5,7 +5,7 @@ SessionAffinityConfig represents the configurations of session affinity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**kubernetes_asyncio.client_ip** | [**V1ClientIPConfig**](V1ClientIPConfig.md) | | [optional] +**kubernetes.aio.client_ip** | [**V1ClientIPConfig**](V1ClientIPConfig.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ShardInfo.md b/kubernetes/aio/docs/V1ShardInfo.md similarity index 78% rename from kubernetes_asyncio/docs/V1ShardInfo.md rename to kubernetes/aio/docs/V1ShardInfo.md index 4bbafd8a47..77e76b4f69 100644 --- a/kubernetes_asyncio/docs/V1ShardInfo.md +++ b/kubernetes/aio/docs/V1ShardInfo.md @@ -5,7 +5,7 @@ ShardInfo describes the shard selector that was applied to produce a list respon ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**selector** | **str** | selector is the shard selector string from the request, echoed back so kubernetes_asyncio.clients can verify which shard they received and merge responses from multiple shards. | +**selector** | **str** | selector is the shard selector string from the request, echoed back so kubernetes.aio.clients can verify which shard they received and merge responses from multiple shards. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1SleepAction.md b/kubernetes/aio/docs/V1SleepAction.md similarity index 100% rename from kubernetes_asyncio/docs/V1SleepAction.md rename to kubernetes/aio/docs/V1SleepAction.md diff --git a/kubernetes_asyncio/docs/V1StatefulSet.md b/kubernetes/aio/docs/V1StatefulSet.md similarity index 85% rename from kubernetes_asyncio/docs/V1StatefulSet.md rename to kubernetes/aio/docs/V1StatefulSet.md index f503e36a4f..03ca68c4fc 100644 --- a/kubernetes_asyncio/docs/V1StatefulSet.md +++ b/kubernetes/aio/docs/V1StatefulSet.md @@ -6,7 +6,7 @@ StatefulSet represents a set of pods with consistent identities. Identities are Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1StatefulSetSpec**](V1StatefulSetSpec.md) | | [optional] **status** | [**V1StatefulSetStatus**](V1StatefulSetStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1StatefulSetCondition.md b/kubernetes/aio/docs/V1StatefulSetCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1StatefulSetCondition.md rename to kubernetes/aio/docs/V1StatefulSetCondition.md diff --git a/kubernetes_asyncio/docs/V1StatefulSetList.md b/kubernetes/aio/docs/V1StatefulSetList.md similarity index 81% rename from kubernetes_asyncio/docs/V1StatefulSetList.md rename to kubernetes/aio/docs/V1StatefulSetList.md index a9640d7d33..38deba118f 100644 --- a/kubernetes_asyncio/docs/V1StatefulSetList.md +++ b/kubernetes/aio/docs/V1StatefulSetList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1StatefulSet]**](V1StatefulSet.md) | Items is the list of stateful sets. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1StatefulSetOrdinals.md b/kubernetes/aio/docs/V1StatefulSetOrdinals.md similarity index 100% rename from kubernetes_asyncio/docs/V1StatefulSetOrdinals.md rename to kubernetes/aio/docs/V1StatefulSetOrdinals.md diff --git a/kubernetes_asyncio/docs/V1StatefulSetPersistentVolumeClaimRetentionPolicy.md b/kubernetes/aio/docs/V1StatefulSetPersistentVolumeClaimRetentionPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1StatefulSetPersistentVolumeClaimRetentionPolicy.md rename to kubernetes/aio/docs/V1StatefulSetPersistentVolumeClaimRetentionPolicy.md diff --git a/kubernetes_asyncio/docs/V1StatefulSetSpec.md b/kubernetes/aio/docs/V1StatefulSetSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1StatefulSetSpec.md rename to kubernetes/aio/docs/V1StatefulSetSpec.md diff --git a/kubernetes_asyncio/docs/V1StatefulSetStatus.md b/kubernetes/aio/docs/V1StatefulSetStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1StatefulSetStatus.md rename to kubernetes/aio/docs/V1StatefulSetStatus.md diff --git a/kubernetes_asyncio/docs/V1StatefulSetUpdateStrategy.md b/kubernetes/aio/docs/V1StatefulSetUpdateStrategy.md similarity index 100% rename from kubernetes_asyncio/docs/V1StatefulSetUpdateStrategy.md rename to kubernetes/aio/docs/V1StatefulSetUpdateStrategy.md diff --git a/kubernetes_asyncio/docs/V1Status.md b/kubernetes/aio/docs/V1Status.md similarity index 88% rename from kubernetes_asyncio/docs/V1Status.md rename to kubernetes/aio/docs/V1Status.md index 32cfe9daa3..20ad70242d 100644 --- a/kubernetes_asyncio/docs/V1Status.md +++ b/kubernetes/aio/docs/V1Status.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **code** | **int** | Suggested HTTP return code for this status, 0 if not set. | [optional] **details** | [**V1StatusDetails**](V1StatusDetails.md) | | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **message** | **str** | A human-readable description of the status of this operation. | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] **reason** | **str** | A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. | [optional] diff --git a/kubernetes_asyncio/docs/V1StatusCause.md b/kubernetes/aio/docs/V1StatusCause.md similarity index 100% rename from kubernetes_asyncio/docs/V1StatusCause.md rename to kubernetes/aio/docs/V1StatusCause.md diff --git a/kubernetes_asyncio/docs/V1StatusDetails.md b/kubernetes/aio/docs/V1StatusDetails.md similarity index 90% rename from kubernetes_asyncio/docs/V1StatusDetails.md rename to kubernetes/aio/docs/V1StatusDetails.md index 034076ba53..f111fbb44d 100644 --- a/kubernetes_asyncio/docs/V1StatusDetails.md +++ b/kubernetes/aio/docs/V1StatusDetails.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **group** | **str** | The group attribute of the resource associated with the status StatusReason. | [optional] **kind** | **str** | The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **name** | **str** | The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). | [optional] -**retry_after_seconds** | **int** | If specified, the time in seconds before the operation should be retried. Some errors may indicate the kubernetes_asyncio.client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. | [optional] +**retry_after_seconds** | **int** | If specified, the time in seconds before the operation should be retried. Some errors may indicate the kubernetes.aio.client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. | [optional] **uid** | **str** | UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1StorageClass.md b/kubernetes/aio/docs/V1StorageClass.md similarity index 92% rename from kubernetes_asyncio/docs/V1StorageClass.md rename to kubernetes/aio/docs/V1StorageClass.md index e5a633ee8d..84674ef373 100644 --- a/kubernetes_asyncio/docs/V1StorageClass.md +++ b/kubernetes/aio/docs/V1StorageClass.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **allow_volume_expansion** | **bool** | allowVolumeExpansion shows whether the storage class allow volume expand. | [optional] **allowed_topologies** | [**list[V1TopologySelectorTerm]**](V1TopologySelectorTerm.md) | allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. | [optional] **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **mount_options** | **list[str]** | mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. | [optional] **parameters** | **dict[str, str]** | parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional] diff --git a/kubernetes_asyncio/docs/V1StorageClassList.md b/kubernetes/aio/docs/V1StorageClassList.md similarity index 81% rename from kubernetes_asyncio/docs/V1StorageClassList.md rename to kubernetes/aio/docs/V1StorageClassList.md index 44a4c9a500..cb12315d3b 100644 --- a/kubernetes_asyncio/docs/V1StorageClassList.md +++ b/kubernetes/aio/docs/V1StorageClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1StorageClass]**](V1StorageClass.md) | items is the list of StorageClasses | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1StorageOSPersistentVolumeSource.md b/kubernetes/aio/docs/V1StorageOSPersistentVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1StorageOSPersistentVolumeSource.md rename to kubernetes/aio/docs/V1StorageOSPersistentVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1StorageOSVolumeSource.md b/kubernetes/aio/docs/V1StorageOSVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1StorageOSVolumeSource.md rename to kubernetes/aio/docs/V1StorageOSVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1SubjectAccessReview.md b/kubernetes/aio/docs/V1SubjectAccessReview.md similarity index 83% rename from kubernetes_asyncio/docs/V1SubjectAccessReview.md rename to kubernetes/aio/docs/V1SubjectAccessReview.md index 4c1a6dea56..83212e98bb 100644 --- a/kubernetes_asyncio/docs/V1SubjectAccessReview.md +++ b/kubernetes/aio/docs/V1SubjectAccessReview.md @@ -6,7 +6,7 @@ SubjectAccessReview checks whether or not a user or group can perform an action. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1SubjectAccessReviewSpec**](V1SubjectAccessReviewSpec.md) | | **status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1SubjectAccessReviewSpec.md b/kubernetes/aio/docs/V1SubjectAccessReviewSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1SubjectAccessReviewSpec.md rename to kubernetes/aio/docs/V1SubjectAccessReviewSpec.md diff --git a/kubernetes_asyncio/docs/V1SubjectAccessReviewStatus.md b/kubernetes/aio/docs/V1SubjectAccessReviewStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1SubjectAccessReviewStatus.md rename to kubernetes/aio/docs/V1SubjectAccessReviewStatus.md diff --git a/kubernetes_asyncio/docs/V1SubjectRulesReviewStatus.md b/kubernetes/aio/docs/V1SubjectRulesReviewStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1SubjectRulesReviewStatus.md rename to kubernetes/aio/docs/V1SubjectRulesReviewStatus.md diff --git a/kubernetes_asyncio/docs/V1SuccessPolicy.md b/kubernetes/aio/docs/V1SuccessPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1SuccessPolicy.md rename to kubernetes/aio/docs/V1SuccessPolicy.md diff --git a/kubernetes_asyncio/docs/V1SuccessPolicyRule.md b/kubernetes/aio/docs/V1SuccessPolicyRule.md similarity index 100% rename from kubernetes_asyncio/docs/V1SuccessPolicyRule.md rename to kubernetes/aio/docs/V1SuccessPolicyRule.md diff --git a/kubernetes_asyncio/docs/V1Sysctl.md b/kubernetes/aio/docs/V1Sysctl.md similarity index 100% rename from kubernetes_asyncio/docs/V1Sysctl.md rename to kubernetes/aio/docs/V1Sysctl.md diff --git a/kubernetes_asyncio/docs/V1TCPSocketAction.md b/kubernetes/aio/docs/V1TCPSocketAction.md similarity index 100% rename from kubernetes_asyncio/docs/V1TCPSocketAction.md rename to kubernetes/aio/docs/V1TCPSocketAction.md diff --git a/kubernetes_asyncio/docs/V1Taint.md b/kubernetes/aio/docs/V1Taint.md similarity index 100% rename from kubernetes_asyncio/docs/V1Taint.md rename to kubernetes/aio/docs/V1Taint.md diff --git a/kubernetes_asyncio/docs/V1TokenRequestSpec.md b/kubernetes/aio/docs/V1TokenRequestSpec.md similarity index 84% rename from kubernetes_asyncio/docs/V1TokenRequestSpec.md rename to kubernetes/aio/docs/V1TokenRequestSpec.md index 651b2c8bbd..3aaa4326f3 100644 --- a/kubernetes_asyncio/docs/V1TokenRequestSpec.md +++ b/kubernetes/aio/docs/V1TokenRequestSpec.md @@ -1,13 +1,13 @@ # V1TokenRequestSpec -TokenRequestSpec contains kubernetes_asyncio.client provided parameters of a token request. +TokenRequestSpec contains kubernetes.aio.client provided parameters of a token request. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **audiences** | **list[str]** | audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences. | [optional] **bound_object_ref** | [**V1BoundObjectReference**](V1BoundObjectReference.md) | | [optional] -**expiration_seconds** | **int** | expirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a kubernetes_asyncio.client needs to check the 'expiration' field in a response. | [optional] +**expiration_seconds** | **int** | expirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a kubernetes.aio.client needs to check the 'expiration' field in a response. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1TokenRequestStatus.md b/kubernetes/aio/docs/V1TokenRequestStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1TokenRequestStatus.md rename to kubernetes/aio/docs/V1TokenRequestStatus.md diff --git a/kubernetes_asyncio/docs/V1TokenReview.md b/kubernetes/aio/docs/V1TokenReview.md similarity index 83% rename from kubernetes_asyncio/docs/V1TokenReview.md rename to kubernetes/aio/docs/V1TokenReview.md index 0ec7ac9dfb..b41036716f 100644 --- a/kubernetes_asyncio/docs/V1TokenReview.md +++ b/kubernetes/aio/docs/V1TokenReview.md @@ -6,7 +6,7 @@ TokenReview attempts to authenticate a token to a known user. Note: TokenReview Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1TokenReviewSpec**](V1TokenReviewSpec.md) | | **status** | [**V1TokenReviewStatus**](V1TokenReviewStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1TokenReviewSpec.md b/kubernetes/aio/docs/V1TokenReviewSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1TokenReviewSpec.md rename to kubernetes/aio/docs/V1TokenReviewSpec.md diff --git a/kubernetes_asyncio/docs/V1TokenReviewStatus.md b/kubernetes/aio/docs/V1TokenReviewStatus.md similarity index 66% rename from kubernetes_asyncio/docs/V1TokenReviewStatus.md rename to kubernetes/aio/docs/V1TokenReviewStatus.md index a2b72fe4f2..5ed87ea7b7 100644 --- a/kubernetes_asyncio/docs/V1TokenReviewStatus.md +++ b/kubernetes/aio/docs/V1TokenReviewStatus.md @@ -5,7 +5,7 @@ TokenReviewStatus is the result of the token authentication request. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**audiences** | **list[str]** | audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A kubernetes_asyncio.client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. | [optional] +**audiences** | **list[str]** | audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A kubernetes.aio.client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. | [optional] **authenticated** | **bool** | authenticated indicates that the token was associated with a known user. | [optional] **error** | **str** | error indicates that the token couldn't be checked | [optional] **user** | [**V1UserInfo**](V1UserInfo.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1Toleration.md b/kubernetes/aio/docs/V1Toleration.md similarity index 100% rename from kubernetes_asyncio/docs/V1Toleration.md rename to kubernetes/aio/docs/V1Toleration.md diff --git a/kubernetes_asyncio/docs/V1TopologySelectorLabelRequirement.md b/kubernetes/aio/docs/V1TopologySelectorLabelRequirement.md similarity index 100% rename from kubernetes_asyncio/docs/V1TopologySelectorLabelRequirement.md rename to kubernetes/aio/docs/V1TopologySelectorLabelRequirement.md diff --git a/kubernetes_asyncio/docs/V1TopologySelectorTerm.md b/kubernetes/aio/docs/V1TopologySelectorTerm.md similarity index 100% rename from kubernetes_asyncio/docs/V1TopologySelectorTerm.md rename to kubernetes/aio/docs/V1TopologySelectorTerm.md diff --git a/kubernetes_asyncio/docs/V1TopologySpreadConstraint.md b/kubernetes/aio/docs/V1TopologySpreadConstraint.md similarity index 100% rename from kubernetes_asyncio/docs/V1TopologySpreadConstraint.md rename to kubernetes/aio/docs/V1TopologySpreadConstraint.md diff --git a/kubernetes_asyncio/docs/V1TypeChecking.md b/kubernetes/aio/docs/V1TypeChecking.md similarity index 100% rename from kubernetes_asyncio/docs/V1TypeChecking.md rename to kubernetes/aio/docs/V1TypeChecking.md diff --git a/kubernetes_asyncio/docs/V1TypedLocalObjectReference.md b/kubernetes/aio/docs/V1TypedLocalObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1TypedLocalObjectReference.md rename to kubernetes/aio/docs/V1TypedLocalObjectReference.md diff --git a/kubernetes_asyncio/docs/V1TypedObjectReference.md b/kubernetes/aio/docs/V1TypedObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1TypedObjectReference.md rename to kubernetes/aio/docs/V1TypedObjectReference.md diff --git a/kubernetes_asyncio/docs/V1UncountedTerminatedPods.md b/kubernetes/aio/docs/V1UncountedTerminatedPods.md similarity index 100% rename from kubernetes_asyncio/docs/V1UncountedTerminatedPods.md rename to kubernetes/aio/docs/V1UncountedTerminatedPods.md diff --git a/kubernetes_asyncio/docs/V1UserInfo.md b/kubernetes/aio/docs/V1UserInfo.md similarity index 100% rename from kubernetes_asyncio/docs/V1UserInfo.md rename to kubernetes/aio/docs/V1UserInfo.md diff --git a/kubernetes_asyncio/docs/V1UserSubject.md b/kubernetes/aio/docs/V1UserSubject.md similarity index 100% rename from kubernetes_asyncio/docs/V1UserSubject.md rename to kubernetes/aio/docs/V1UserSubject.md diff --git a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicy.md b/kubernetes/aio/docs/V1ValidatingAdmissionPolicy.md similarity index 84% rename from kubernetes_asyncio/docs/V1ValidatingAdmissionPolicy.md rename to kubernetes/aio/docs/V1ValidatingAdmissionPolicy.md index ba451a90eb..d28e60c57d 100644 --- a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicy.md +++ b/kubernetes/aio/docs/V1ValidatingAdmissionPolicy.md @@ -6,7 +6,7 @@ ValidatingAdmissionPolicy describes the definition of an admission validation po Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ValidatingAdmissionPolicySpec**](V1ValidatingAdmissionPolicySpec.md) | | [optional] **status** | [**V1ValidatingAdmissionPolicyStatus**](V1ValidatingAdmissionPolicyStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBinding.md b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyBinding.md similarity index 88% rename from kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBinding.md rename to kubernetes/aio/docs/V1ValidatingAdmissionPolicyBinding.md index c0ab204398..52e16cbc65 100644 --- a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBinding.md +++ b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyBinding.md @@ -6,7 +6,7 @@ ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with parame Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1ValidatingAdmissionPolicyBindingSpec**](V1ValidatingAdmissionPolicyBindingSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBindingList.md b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyBindingList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBindingList.md rename to kubernetes/aio/docs/V1ValidatingAdmissionPolicyBindingList.md index 0881d16475..d85728dc27 100644 --- a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBindingList.md +++ b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyBindingList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ValidatingAdmissionPolicyBinding]**](V1ValidatingAdmissionPolicyBinding.md) | List of PolicyBinding. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBindingSpec.md b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyBindingSpec.md similarity index 50% rename from kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBindingSpec.md rename to kubernetes/aio/docs/V1ValidatingAdmissionPolicyBindingSpec.md index fab3c2e94a..2585d89b15 100644 --- a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyBindingSpec.md +++ b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyBindingSpec.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **match_resources** | [**V1MatchResources**](V1MatchResources.md) | | [optional] **param_ref** | [**V1ParamRef**](V1ParamRef.md) | | [optional] **policy_name** | **str** | policyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required. | -**validation_actions** | **list[str]** | validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request kubernetes_asyncio.client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. | +**validation_actions** | **list[str]** | validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request kubernetes.aio.client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyList.md b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyList.md rename to kubernetes/aio/docs/V1ValidatingAdmissionPolicyList.md index 578f990159..05d0e647c6 100644 --- a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyList.md +++ b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ValidatingAdmissionPolicy]**](V1ValidatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicySpec.md b/kubernetes/aio/docs/V1ValidatingAdmissionPolicySpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1ValidatingAdmissionPolicySpec.md rename to kubernetes/aio/docs/V1ValidatingAdmissionPolicySpec.md diff --git a/kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyStatus.md b/kubernetes/aio/docs/V1ValidatingAdmissionPolicyStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1ValidatingAdmissionPolicyStatus.md rename to kubernetes/aio/docs/V1ValidatingAdmissionPolicyStatus.md diff --git a/kubernetes_asyncio/docs/V1ValidatingWebhook.md b/kubernetes/aio/docs/V1ValidatingWebhook.md similarity index 97% rename from kubernetes_asyncio/docs/V1ValidatingWebhook.md rename to kubernetes/aio/docs/V1ValidatingWebhook.md index 9b6a37c303..c6e08522fe 100644 --- a/kubernetes_asyncio/docs/V1ValidatingWebhook.md +++ b/kubernetes/aio/docs/V1ValidatingWebhook.md @@ -6,7 +6,7 @@ ValidatingWebhook describes an admission webhook and the resources and operation Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **admission_review_versions** | **list[str]** | admissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. | -**kubernetes_asyncio.client_config** | [**AdmissionregistrationV1WebhookClientConfig**](AdmissionregistrationV1WebhookClientConfig.md) | | +**kubernetes.aio.client_config** | [**AdmissionregistrationV1WebhookClientConfig**](AdmissionregistrationV1WebhookClientConfig.md) | | **failure_policy** | **str** | failurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail. | [optional] **match_conditions** | [**list[V1MatchCondition]**](V1MatchCondition.md) | matchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed. The exact matching logic is (in order): 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped. 2. If ALL matchConditions evaluate to TRUE, the webhook is called. 3. If any matchCondition evaluates to an error (but none are FALSE): - If failurePolicy=Fail, reject the request - If failurePolicy=Ignore, the error is ignored and the webhook is skipped | [optional] **match_policy** | **str** | matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to \"Equivalent\" | [optional] diff --git a/kubernetes_asyncio/docs/V1ValidatingWebhookConfiguration.md b/kubernetes/aio/docs/V1ValidatingWebhookConfiguration.md similarity index 83% rename from kubernetes_asyncio/docs/V1ValidatingWebhookConfiguration.md rename to kubernetes/aio/docs/V1ValidatingWebhookConfiguration.md index fb0dd2379e..7e48fd31ca 100644 --- a/kubernetes_asyncio/docs/V1ValidatingWebhookConfiguration.md +++ b/kubernetes/aio/docs/V1ValidatingWebhookConfiguration.md @@ -6,7 +6,7 @@ ValidatingWebhookConfiguration describes the configuration of and admission webh Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **webhooks** | [**list[V1ValidatingWebhook]**](V1ValidatingWebhook.md) | webhooks is a list of webhooks and the affected resources and operations. | [optional] diff --git a/kubernetes_asyncio/docs/V1ValidatingWebhookConfigurationList.md b/kubernetes/aio/docs/V1ValidatingWebhookConfigurationList.md similarity index 82% rename from kubernetes_asyncio/docs/V1ValidatingWebhookConfigurationList.md rename to kubernetes/aio/docs/V1ValidatingWebhookConfigurationList.md index 4117153dc7..7124c08fab 100644 --- a/kubernetes_asyncio/docs/V1ValidatingWebhookConfigurationList.md +++ b/kubernetes/aio/docs/V1ValidatingWebhookConfigurationList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1ValidatingWebhookConfiguration]**](V1ValidatingWebhookConfiguration.md) | List of ValidatingWebhookConfiguration. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1Validation.md b/kubernetes/aio/docs/V1Validation.md similarity index 95% rename from kubernetes_asyncio/docs/V1Validation.md rename to kubernetes/aio/docs/V1Validation.md index c7189426c2..9b69777487 100644 --- a/kubernetes_asyncio/docs/V1Validation.md +++ b/kubernetes/aio/docs/V1Validation.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **expression** | **str** | expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value. For example, a variable named 'foo' can be accessed as 'variables.foo'. - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the request resource. The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible. Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\", \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\". Examples: - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"} - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"} - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"} Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. Required. | **message** | **str** | message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\". | [optional] **message_expression** | **str** | messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\" | [optional] -**reason** | **str** | reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the kubernetes_asyncio.client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the kubernetes_asyncio.client. | [optional] +**reason** | **str** | reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the kubernetes.aio.client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the kubernetes.aio.client. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1ValidationRule.md b/kubernetes/aio/docs/V1ValidationRule.md similarity index 98% rename from kubernetes_asyncio/docs/V1ValidationRule.md rename to kubernetes/aio/docs/V1ValidationRule.md index 74a8295c18..7086b31243 100644 --- a/kubernetes_asyncio/docs/V1ValidationRule.md +++ b/kubernetes/aio/docs/V1ValidationRule.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **message** | **str** | Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" | [optional] **message_expression** | **str** | MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\" | [optional] **optional_old_self** | **bool** | optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value. When enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created. You may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes May not be set unless `oldSelf` is used in `rule`. | [optional] -**reason** | **str** | reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by kubernetes_asyncio.clients when reading this value and unknown reasons should be treated as FieldValueInvalid. | [optional] +**reason** | **str** | reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by kubernetes.aio.clients when reading this value and unknown reasons should be treated as FieldValueInvalid. | [optional] **rule** | **str** | Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"} If the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"} The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible. Unknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as: - A schema with no type and x-kubernetes-preserve-unknown-fields set to true - An array where the items schema is of an \"unknown type\" - An object where the additionalProperties schema is of an \"unknown type\" Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\", \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\". Examples: - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"} - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"} - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"} Equality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. If `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`. By default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional variable whose value() is the same type as `self`. See the documentation for the `optionalOldSelf` field for details. Transition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1Variable.md b/kubernetes/aio/docs/V1Variable.md similarity index 100% rename from kubernetes_asyncio/docs/V1Variable.md rename to kubernetes/aio/docs/V1Variable.md diff --git a/kubernetes_asyncio/docs/V1Volume.md b/kubernetes/aio/docs/V1Volume.md similarity index 100% rename from kubernetes_asyncio/docs/V1Volume.md rename to kubernetes/aio/docs/V1Volume.md diff --git a/kubernetes_asyncio/docs/V1VolumeAttachment.md b/kubernetes/aio/docs/V1VolumeAttachment.md similarity index 84% rename from kubernetes_asyncio/docs/V1VolumeAttachment.md rename to kubernetes/aio/docs/V1VolumeAttachment.md index 41c6b02a6a..922d365ae0 100644 --- a/kubernetes_asyncio/docs/V1VolumeAttachment.md +++ b/kubernetes/aio/docs/V1VolumeAttachment.md @@ -6,7 +6,7 @@ VolumeAttachment captures the intent to attach or detach the specified volume to Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1VolumeAttachmentSpec**](V1VolumeAttachmentSpec.md) | | **status** | [**V1VolumeAttachmentStatus**](V1VolumeAttachmentStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1VolumeAttachmentList.md b/kubernetes/aio/docs/V1VolumeAttachmentList.md similarity index 82% rename from kubernetes_asyncio/docs/V1VolumeAttachmentList.md rename to kubernetes/aio/docs/V1VolumeAttachmentList.md index 64d263fbcf..72fa62d384 100644 --- a/kubernetes_asyncio/docs/V1VolumeAttachmentList.md +++ b/kubernetes/aio/docs/V1VolumeAttachmentList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1VolumeAttachment]**](V1VolumeAttachment.md) | items is the list of VolumeAttachments | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1VolumeAttachmentSource.md b/kubernetes/aio/docs/V1VolumeAttachmentSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeAttachmentSource.md rename to kubernetes/aio/docs/V1VolumeAttachmentSource.md diff --git a/kubernetes_asyncio/docs/V1VolumeAttachmentSpec.md b/kubernetes/aio/docs/V1VolumeAttachmentSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeAttachmentSpec.md rename to kubernetes/aio/docs/V1VolumeAttachmentSpec.md diff --git a/kubernetes_asyncio/docs/V1VolumeAttachmentStatus.md b/kubernetes/aio/docs/V1VolumeAttachmentStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeAttachmentStatus.md rename to kubernetes/aio/docs/V1VolumeAttachmentStatus.md diff --git a/kubernetes_asyncio/docs/V1VolumeAttributesClass.md b/kubernetes/aio/docs/V1VolumeAttributesClass.md similarity index 90% rename from kubernetes_asyncio/docs/V1VolumeAttributesClass.md rename to kubernetes/aio/docs/V1VolumeAttributesClass.md index 8f38ec96ea..5641c0e739 100644 --- a/kubernetes_asyncio/docs/V1VolumeAttributesClass.md +++ b/kubernetes/aio/docs/V1VolumeAttributesClass.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **driver_name** | **str** | Name of the CSI driver This field is immutable. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **parameters** | **dict[str, str]** | parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field. | [optional] diff --git a/kubernetes_asyncio/docs/V1VolumeAttributesClassList.md b/kubernetes/aio/docs/V1VolumeAttributesClassList.md similarity index 82% rename from kubernetes_asyncio/docs/V1VolumeAttributesClassList.md rename to kubernetes/aio/docs/V1VolumeAttributesClassList.md index 7f1d845ad0..891dee8977 100644 --- a/kubernetes_asyncio/docs/V1VolumeAttributesClassList.md +++ b/kubernetes/aio/docs/V1VolumeAttributesClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1VolumeAttributesClass]**](V1VolumeAttributesClass.md) | items is the list of VolumeAttributesClass objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1VolumeDevice.md b/kubernetes/aio/docs/V1VolumeDevice.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeDevice.md rename to kubernetes/aio/docs/V1VolumeDevice.md diff --git a/kubernetes_asyncio/docs/V1VolumeError.md b/kubernetes/aio/docs/V1VolumeError.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeError.md rename to kubernetes/aio/docs/V1VolumeError.md diff --git a/kubernetes_asyncio/docs/V1VolumeMount.md b/kubernetes/aio/docs/V1VolumeMount.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeMount.md rename to kubernetes/aio/docs/V1VolumeMount.md diff --git a/kubernetes_asyncio/docs/V1VolumeMountStatus.md b/kubernetes/aio/docs/V1VolumeMountStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeMountStatus.md rename to kubernetes/aio/docs/V1VolumeMountStatus.md diff --git a/kubernetes_asyncio/docs/V1VolumeNodeAffinity.md b/kubernetes/aio/docs/V1VolumeNodeAffinity.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeNodeAffinity.md rename to kubernetes/aio/docs/V1VolumeNodeAffinity.md diff --git a/kubernetes_asyncio/docs/V1VolumeNodeResources.md b/kubernetes/aio/docs/V1VolumeNodeResources.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeNodeResources.md rename to kubernetes/aio/docs/V1VolumeNodeResources.md diff --git a/kubernetes_asyncio/docs/V1VolumeProjection.md b/kubernetes/aio/docs/V1VolumeProjection.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeProjection.md rename to kubernetes/aio/docs/V1VolumeProjection.md diff --git a/kubernetes_asyncio/docs/V1VolumeResourceRequirements.md b/kubernetes/aio/docs/V1VolumeResourceRequirements.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeResourceRequirements.md rename to kubernetes/aio/docs/V1VolumeResourceRequirements.md diff --git a/kubernetes_asyncio/docs/V1VolumeStatus.md b/kubernetes/aio/docs/V1VolumeStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1VolumeStatus.md rename to kubernetes/aio/docs/V1VolumeStatus.md diff --git a/kubernetes_asyncio/docs/V1VsphereVirtualDiskVolumeSource.md b/kubernetes/aio/docs/V1VsphereVirtualDiskVolumeSource.md similarity index 100% rename from kubernetes_asyncio/docs/V1VsphereVirtualDiskVolumeSource.md rename to kubernetes/aio/docs/V1VsphereVirtualDiskVolumeSource.md diff --git a/kubernetes_asyncio/docs/V1WatchEvent.md b/kubernetes/aio/docs/V1WatchEvent.md similarity index 100% rename from kubernetes_asyncio/docs/V1WatchEvent.md rename to kubernetes/aio/docs/V1WatchEvent.md diff --git a/kubernetes_asyncio/docs/V1WebhookConversion.md b/kubernetes/aio/docs/V1WebhookConversion.md similarity index 86% rename from kubernetes_asyncio/docs/V1WebhookConversion.md rename to kubernetes/aio/docs/V1WebhookConversion.md index 105b1e41e0..61b445cfaa 100644 --- a/kubernetes_asyncio/docs/V1WebhookConversion.md +++ b/kubernetes/aio/docs/V1WebhookConversion.md @@ -5,7 +5,7 @@ WebhookConversion describes how to call a conversion webhook ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**kubernetes_asyncio.client_config** | [**ApiextensionsV1WebhookClientConfig**](ApiextensionsV1WebhookClientConfig.md) | | [optional] +**kubernetes.aio.client_config** | [**ApiextensionsV1WebhookClientConfig**](ApiextensionsV1WebhookClientConfig.md) | | [optional] **conversion_review_versions** | **list[str]** | conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1WeightedPodAffinityTerm.md b/kubernetes/aio/docs/V1WeightedPodAffinityTerm.md similarity index 100% rename from kubernetes_asyncio/docs/V1WeightedPodAffinityTerm.md rename to kubernetes/aio/docs/V1WeightedPodAffinityTerm.md diff --git a/kubernetes_asyncio/docs/V1WindowsSecurityContextOptions.md b/kubernetes/aio/docs/V1WindowsSecurityContextOptions.md similarity index 100% rename from kubernetes_asyncio/docs/V1WindowsSecurityContextOptions.md rename to kubernetes/aio/docs/V1WindowsSecurityContextOptions.md diff --git a/kubernetes_asyncio/docs/V1alpha1ApplyConfiguration.md b/kubernetes/aio/docs/V1alpha1ApplyConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1ApplyConfiguration.md rename to kubernetes/aio/docs/V1alpha1ApplyConfiguration.md diff --git a/kubernetes_asyncio/docs/V1alpha1ClusterTrustBundle.md b/kubernetes/aio/docs/V1alpha1ClusterTrustBundle.md similarity index 89% rename from kubernetes_asyncio/docs/V1alpha1ClusterTrustBundle.md rename to kubernetes/aio/docs/V1alpha1ClusterTrustBundle.md index 70bc6f6e3e..14bd448c5e 100644 --- a/kubernetes_asyncio/docs/V1alpha1ClusterTrustBundle.md +++ b/kubernetes/aio/docs/V1alpha1ClusterTrustBundle.md @@ -6,7 +6,7 @@ ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root c Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha1ClusterTrustBundleSpec**](V1alpha1ClusterTrustBundleSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1alpha1ClusterTrustBundleList.md b/kubernetes/aio/docs/V1alpha1ClusterTrustBundleList.md similarity index 82% rename from kubernetes_asyncio/docs/V1alpha1ClusterTrustBundleList.md rename to kubernetes/aio/docs/V1alpha1ClusterTrustBundleList.md index aa0ea45f60..0f1314c9a3 100644 --- a/kubernetes_asyncio/docs/V1alpha1ClusterTrustBundleList.md +++ b/kubernetes/aio/docs/V1alpha1ClusterTrustBundleList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1ClusterTrustBundle]**](V1alpha1ClusterTrustBundle.md) | items is a collection of ClusterTrustBundle objects | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha1ClusterTrustBundleSpec.md b/kubernetes/aio/docs/V1alpha1ClusterTrustBundleSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1ClusterTrustBundleSpec.md rename to kubernetes/aio/docs/V1alpha1ClusterTrustBundleSpec.md diff --git a/kubernetes_asyncio/docs/V1alpha1JSONPatch.md b/kubernetes/aio/docs/V1alpha1JSONPatch.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1JSONPatch.md rename to kubernetes/aio/docs/V1alpha1JSONPatch.md diff --git a/kubernetes_asyncio/docs/V1alpha1MatchCondition.md b/kubernetes/aio/docs/V1alpha1MatchCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1MatchCondition.md rename to kubernetes/aio/docs/V1alpha1MatchCondition.md diff --git a/kubernetes_asyncio/docs/V1alpha1MatchResources.md b/kubernetes/aio/docs/V1alpha1MatchResources.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1MatchResources.md rename to kubernetes/aio/docs/V1alpha1MatchResources.md diff --git a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicy.md b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicy.md similarity index 83% rename from kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicy.md rename to kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicy.md index a1048f7dab..f693121835 100644 --- a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicy.md +++ b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicy.md @@ -6,7 +6,7 @@ MutatingAdmissionPolicy describes the definition of an admission mutation policy Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha1MutatingAdmissionPolicySpec**](V1alpha1MutatingAdmissionPolicySpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBinding.md b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBinding.md similarity index 88% rename from kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBinding.md rename to kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBinding.md index 659969bb65..873b071405 100644 --- a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBinding.md +++ b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBinding.md @@ -6,7 +6,7 @@ MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametriz Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha1MutatingAdmissionPolicyBindingSpec**](V1alpha1MutatingAdmissionPolicyBindingSpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBindingList.md b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBindingList.md similarity index 82% rename from kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBindingList.md rename to kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBindingList.md index 6309683648..74204c064f 100644 --- a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBindingList.md +++ b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBindingList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1MutatingAdmissionPolicyBinding]**](V1alpha1MutatingAdmissionPolicyBinding.md) | List of PolicyBinding. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBindingSpec.md b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBindingSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyBindingSpec.md rename to kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyBindingSpec.md diff --git a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyList.md b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyList.md similarity index 82% rename from kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyList.md rename to kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyList.md index c4a192194a..bb61fd0b65 100644 --- a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicyList.md +++ b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicyList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1MutatingAdmissionPolicy]**](V1alpha1MutatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicySpec.md b/kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicySpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1MutatingAdmissionPolicySpec.md rename to kubernetes/aio/docs/V1alpha1MutatingAdmissionPolicySpec.md diff --git a/kubernetes_asyncio/docs/V1alpha1Mutation.md b/kubernetes/aio/docs/V1alpha1Mutation.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1Mutation.md rename to kubernetes/aio/docs/V1alpha1Mutation.md diff --git a/kubernetes_asyncio/docs/V1alpha1NamedRuleWithOperations.md b/kubernetes/aio/docs/V1alpha1NamedRuleWithOperations.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1NamedRuleWithOperations.md rename to kubernetes/aio/docs/V1alpha1NamedRuleWithOperations.md diff --git a/kubernetes_asyncio/docs/V1alpha1ParamKind.md b/kubernetes/aio/docs/V1alpha1ParamKind.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1ParamKind.md rename to kubernetes/aio/docs/V1alpha1ParamKind.md diff --git a/kubernetes_asyncio/docs/V1alpha1ParamRef.md b/kubernetes/aio/docs/V1alpha1ParamRef.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1ParamRef.md rename to kubernetes/aio/docs/V1alpha1ParamRef.md diff --git a/kubernetes_asyncio/docs/V1alpha1ServerStorageVersion.md b/kubernetes/aio/docs/V1alpha1ServerStorageVersion.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1ServerStorageVersion.md rename to kubernetes/aio/docs/V1alpha1ServerStorageVersion.md diff --git a/kubernetes_asyncio/docs/V1alpha1StorageVersion.md b/kubernetes/aio/docs/V1alpha1StorageVersion.md similarity index 83% rename from kubernetes_asyncio/docs/V1alpha1StorageVersion.md rename to kubernetes/aio/docs/V1alpha1StorageVersion.md index 0326225cc7..ee11101301 100644 --- a/kubernetes_asyncio/docs/V1alpha1StorageVersion.md +++ b/kubernetes/aio/docs/V1alpha1StorageVersion.md @@ -6,7 +6,7 @@ Storage version of a specific resource. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | **spec** | **object** | spec is an empty spec. It is here to comply with Kubernetes API style. | [optional] **status** | [**V1alpha1StorageVersionStatus**](V1alpha1StorageVersionStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1alpha1StorageVersionCondition.md b/kubernetes/aio/docs/V1alpha1StorageVersionCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1StorageVersionCondition.md rename to kubernetes/aio/docs/V1alpha1StorageVersionCondition.md diff --git a/kubernetes_asyncio/docs/V1alpha1StorageVersionList.md b/kubernetes/aio/docs/V1alpha1StorageVersionList.md similarity index 81% rename from kubernetes_asyncio/docs/V1alpha1StorageVersionList.md rename to kubernetes/aio/docs/V1alpha1StorageVersionList.md index f758282644..f9d1ed8da8 100644 --- a/kubernetes_asyncio/docs/V1alpha1StorageVersionList.md +++ b/kubernetes/aio/docs/V1alpha1StorageVersionList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1StorageVersion]**](V1alpha1StorageVersion.md) | Items holds a list of StorageVersion | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha1StorageVersionStatus.md b/kubernetes/aio/docs/V1alpha1StorageVersionStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1StorageVersionStatus.md rename to kubernetes/aio/docs/V1alpha1StorageVersionStatus.md diff --git a/kubernetes_asyncio/docs/V1alpha1Variable.md b/kubernetes/aio/docs/V1alpha1Variable.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha1Variable.md rename to kubernetes/aio/docs/V1alpha1Variable.md diff --git a/kubernetes_asyncio/docs/V1alpha2GangSchedulingPolicy.md b/kubernetes/aio/docs/V1alpha2GangSchedulingPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2GangSchedulingPolicy.md rename to kubernetes/aio/docs/V1alpha2GangSchedulingPolicy.md diff --git a/kubernetes_asyncio/docs/V1alpha2LeaseCandidate.md b/kubernetes/aio/docs/V1alpha2LeaseCandidate.md similarity index 83% rename from kubernetes_asyncio/docs/V1alpha2LeaseCandidate.md rename to kubernetes/aio/docs/V1alpha2LeaseCandidate.md index e486917fdf..c8bdbb33eb 100644 --- a/kubernetes_asyncio/docs/V1alpha2LeaseCandidate.md +++ b/kubernetes/aio/docs/V1alpha2LeaseCandidate.md @@ -6,7 +6,7 @@ LeaseCandidate defines a candidate for a Lease object. Candidates are created su Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha2LeaseCandidateSpec**](V1alpha2LeaseCandidateSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1alpha2LeaseCandidateList.md b/kubernetes/aio/docs/V1alpha2LeaseCandidateList.md similarity index 82% rename from kubernetes_asyncio/docs/V1alpha2LeaseCandidateList.md rename to kubernetes/aio/docs/V1alpha2LeaseCandidateList.md index 6cd3617a54..23ecef91af 100644 --- a/kubernetes_asyncio/docs/V1alpha2LeaseCandidateList.md +++ b/kubernetes/aio/docs/V1alpha2LeaseCandidateList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha2LeaseCandidate]**](V1alpha2LeaseCandidate.md) | items is a list of schema objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha2LeaseCandidateSpec.md b/kubernetes/aio/docs/V1alpha2LeaseCandidateSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2LeaseCandidateSpec.md rename to kubernetes/aio/docs/V1alpha2LeaseCandidateSpec.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroup.md b/kubernetes/aio/docs/V1alpha2PodGroup.md similarity index 84% rename from kubernetes_asyncio/docs/V1alpha2PodGroup.md rename to kubernetes/aio/docs/V1alpha2PodGroup.md index 3e45993e89..4c4786eeb3 100644 --- a/kubernetes_asyncio/docs/V1alpha2PodGroup.md +++ b/kubernetes/aio/docs/V1alpha2PodGroup.md @@ -6,7 +6,7 @@ PodGroup represents a runtime instance of pods grouped together. PodGroups are c Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha2PodGroupSpec**](V1alpha2PodGroupSpec.md) | | **status** | [**V1alpha2PodGroupStatus**](V1alpha2PodGroupStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupList.md b/kubernetes/aio/docs/V1alpha2PodGroupList.md similarity index 81% rename from kubernetes_asyncio/docs/V1alpha2PodGroupList.md rename to kubernetes/aio/docs/V1alpha2PodGroupList.md index ccc8adcd3a..f9a04d3378 100644 --- a/kubernetes_asyncio/docs/V1alpha2PodGroupList.md +++ b/kubernetes/aio/docs/V1alpha2PodGroupList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha2PodGroup]**](V1alpha2PodGroup.md) | Items is the list of PodGroups. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupResourceClaim.md b/kubernetes/aio/docs/V1alpha2PodGroupResourceClaim.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupResourceClaim.md rename to kubernetes/aio/docs/V1alpha2PodGroupResourceClaim.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupResourceClaimStatus.md b/kubernetes/aio/docs/V1alpha2PodGroupResourceClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupResourceClaimStatus.md rename to kubernetes/aio/docs/V1alpha2PodGroupResourceClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupSchedulingConstraints.md b/kubernetes/aio/docs/V1alpha2PodGroupSchedulingConstraints.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupSchedulingConstraints.md rename to kubernetes/aio/docs/V1alpha2PodGroupSchedulingConstraints.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupSchedulingPolicy.md b/kubernetes/aio/docs/V1alpha2PodGroupSchedulingPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupSchedulingPolicy.md rename to kubernetes/aio/docs/V1alpha2PodGroupSchedulingPolicy.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupSpec.md b/kubernetes/aio/docs/V1alpha2PodGroupSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupSpec.md rename to kubernetes/aio/docs/V1alpha2PodGroupSpec.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupStatus.md b/kubernetes/aio/docs/V1alpha2PodGroupStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupStatus.md rename to kubernetes/aio/docs/V1alpha2PodGroupStatus.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupTemplate.md b/kubernetes/aio/docs/V1alpha2PodGroupTemplate.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupTemplate.md rename to kubernetes/aio/docs/V1alpha2PodGroupTemplate.md diff --git a/kubernetes_asyncio/docs/V1alpha2PodGroupTemplateReference.md b/kubernetes/aio/docs/V1alpha2PodGroupTemplateReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2PodGroupTemplateReference.md rename to kubernetes/aio/docs/V1alpha2PodGroupTemplateReference.md diff --git a/kubernetes_asyncio/docs/V1alpha2TopologyConstraint.md b/kubernetes/aio/docs/V1alpha2TopologyConstraint.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2TopologyConstraint.md rename to kubernetes/aio/docs/V1alpha2TopologyConstraint.md diff --git a/kubernetes_asyncio/docs/V1alpha2TypedLocalObjectReference.md b/kubernetes/aio/docs/V1alpha2TypedLocalObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2TypedLocalObjectReference.md rename to kubernetes/aio/docs/V1alpha2TypedLocalObjectReference.md diff --git a/kubernetes_asyncio/docs/V1alpha2Workload.md b/kubernetes/aio/docs/V1alpha2Workload.md similarity index 84% rename from kubernetes_asyncio/docs/V1alpha2Workload.md rename to kubernetes/aio/docs/V1alpha2Workload.md index 77ab997615..0b4d15fd0a 100644 --- a/kubernetes_asyncio/docs/V1alpha2Workload.md +++ b/kubernetes/aio/docs/V1alpha2Workload.md @@ -6,7 +6,7 @@ Workload allows for expressing scheduling constraints that should be used when m Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha2WorkloadSpec**](V1alpha2WorkloadSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1alpha2WorkloadList.md b/kubernetes/aio/docs/V1alpha2WorkloadList.md similarity index 81% rename from kubernetes_asyncio/docs/V1alpha2WorkloadList.md rename to kubernetes/aio/docs/V1alpha2WorkloadList.md index 178c85966d..3609d6ecc3 100644 --- a/kubernetes_asyncio/docs/V1alpha2WorkloadList.md +++ b/kubernetes/aio/docs/V1alpha2WorkloadList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha2Workload]**](V1alpha2Workload.md) | Items is the list of Workloads. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha2WorkloadPodGroupTemplateReference.md b/kubernetes/aio/docs/V1alpha2WorkloadPodGroupTemplateReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2WorkloadPodGroupTemplateReference.md rename to kubernetes/aio/docs/V1alpha2WorkloadPodGroupTemplateReference.md diff --git a/kubernetes_asyncio/docs/V1alpha2WorkloadSpec.md b/kubernetes/aio/docs/V1alpha2WorkloadSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha2WorkloadSpec.md rename to kubernetes/aio/docs/V1alpha2WorkloadSpec.md diff --git a/kubernetes_asyncio/docs/V1alpha3DeviceTaint.md b/kubernetes/aio/docs/V1alpha3DeviceTaint.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha3DeviceTaint.md rename to kubernetes/aio/docs/V1alpha3DeviceTaint.md diff --git a/kubernetes_asyncio/docs/V1alpha3DeviceTaintRule.md b/kubernetes/aio/docs/V1alpha3DeviceTaintRule.md similarity index 84% rename from kubernetes_asyncio/docs/V1alpha3DeviceTaintRule.md rename to kubernetes/aio/docs/V1alpha3DeviceTaintRule.md index f24c04ebc0..29d7c84e29 100644 --- a/kubernetes_asyncio/docs/V1alpha3DeviceTaintRule.md +++ b/kubernetes/aio/docs/V1alpha3DeviceTaintRule.md @@ -6,7 +6,7 @@ DeviceTaintRule adds one taint to all devices which match the selector. This has Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha3DeviceTaintRuleSpec**](V1alpha3DeviceTaintRuleSpec.md) | | **status** | [**V1alpha3DeviceTaintRuleStatus**](V1alpha3DeviceTaintRuleStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1alpha3DeviceTaintRuleList.md b/kubernetes/aio/docs/V1alpha3DeviceTaintRuleList.md similarity index 82% rename from kubernetes_asyncio/docs/V1alpha3DeviceTaintRuleList.md rename to kubernetes/aio/docs/V1alpha3DeviceTaintRuleList.md index 819c4ef129..c64e22f69f 100644 --- a/kubernetes_asyncio/docs/V1alpha3DeviceTaintRuleList.md +++ b/kubernetes/aio/docs/V1alpha3DeviceTaintRuleList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha3DeviceTaintRule]**](V1alpha3DeviceTaintRule.md) | Items is the list of DeviceTaintRules. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha3DeviceTaintRuleSpec.md b/kubernetes/aio/docs/V1alpha3DeviceTaintRuleSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha3DeviceTaintRuleSpec.md rename to kubernetes/aio/docs/V1alpha3DeviceTaintRuleSpec.md diff --git a/kubernetes_asyncio/docs/V1alpha3DeviceTaintRuleStatus.md b/kubernetes/aio/docs/V1alpha3DeviceTaintRuleStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha3DeviceTaintRuleStatus.md rename to kubernetes/aio/docs/V1alpha3DeviceTaintRuleStatus.md diff --git a/kubernetes_asyncio/docs/V1alpha3DeviceTaintSelector.md b/kubernetes/aio/docs/V1alpha3DeviceTaintSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha3DeviceTaintSelector.md rename to kubernetes/aio/docs/V1alpha3DeviceTaintSelector.md diff --git a/kubernetes_asyncio/docs/V1alpha3PoolStatus.md b/kubernetes/aio/docs/V1alpha3PoolStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha3PoolStatus.md rename to kubernetes/aio/docs/V1alpha3PoolStatus.md diff --git a/kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequest.md b/kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequest.md similarity index 85% rename from kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequest.md rename to kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequest.md index 4e23ff64c0..0fd7c36b22 100644 --- a/kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequest.md +++ b/kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequest.md @@ -6,7 +6,7 @@ ResourcePoolStatusRequest triggers a one-time calculation of resource pool statu Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | **spec** | [**V1alpha3ResourcePoolStatusRequestSpec**](V1alpha3ResourcePoolStatusRequestSpec.md) | | **status** | [**V1alpha3ResourcePoolStatusRequestStatus**](V1alpha3ResourcePoolStatusRequestStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequestList.md b/kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequestList.md similarity index 83% rename from kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequestList.md rename to kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequestList.md index f398e2f01e..0c2e9a9812 100644 --- a/kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequestList.md +++ b/kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequestList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1alpha3ResourcePoolStatusRequest]**](V1alpha3ResourcePoolStatusRequest.md) | Items is the list of ResourcePoolStatusRequests. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequestSpec.md b/kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequestSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequestSpec.md rename to kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequestSpec.md diff --git a/kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequestStatus.md b/kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequestStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1alpha3ResourcePoolStatusRequestStatus.md rename to kubernetes/aio/docs/V1alpha3ResourcePoolStatusRequestStatus.md diff --git a/kubernetes_asyncio/docs/V1beta1AllocatedDeviceStatus.md b/kubernetes/aio/docs/V1beta1AllocatedDeviceStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1AllocatedDeviceStatus.md rename to kubernetes/aio/docs/V1beta1AllocatedDeviceStatus.md diff --git a/kubernetes_asyncio/docs/V1beta1AllocationResult.md b/kubernetes/aio/docs/V1beta1AllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1AllocationResult.md rename to kubernetes/aio/docs/V1beta1AllocationResult.md diff --git a/kubernetes_asyncio/docs/V1beta1ApplyConfiguration.md b/kubernetes/aio/docs/V1beta1ApplyConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ApplyConfiguration.md rename to kubernetes/aio/docs/V1beta1ApplyConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta1BasicDevice.md b/kubernetes/aio/docs/V1beta1BasicDevice.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1BasicDevice.md rename to kubernetes/aio/docs/V1beta1BasicDevice.md diff --git a/kubernetes_asyncio/docs/V1beta1CELDeviceSelector.md b/kubernetes/aio/docs/V1beta1CELDeviceSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1CELDeviceSelector.md rename to kubernetes/aio/docs/V1beta1CELDeviceSelector.md diff --git a/kubernetes_asyncio/docs/V1beta1CapacityRequestPolicy.md b/kubernetes/aio/docs/V1beta1CapacityRequestPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1CapacityRequestPolicy.md rename to kubernetes/aio/docs/V1beta1CapacityRequestPolicy.md diff --git a/kubernetes_asyncio/docs/V1beta1CapacityRequestPolicyRange.md b/kubernetes/aio/docs/V1beta1CapacityRequestPolicyRange.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1CapacityRequestPolicyRange.md rename to kubernetes/aio/docs/V1beta1CapacityRequestPolicyRange.md diff --git a/kubernetes_asyncio/docs/V1beta1CapacityRequirements.md b/kubernetes/aio/docs/V1beta1CapacityRequirements.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1CapacityRequirements.md rename to kubernetes/aio/docs/V1beta1CapacityRequirements.md diff --git a/kubernetes_asyncio/docs/V1beta1ClusterTrustBundle.md b/kubernetes/aio/docs/V1beta1ClusterTrustBundle.md similarity index 89% rename from kubernetes_asyncio/docs/V1beta1ClusterTrustBundle.md rename to kubernetes/aio/docs/V1beta1ClusterTrustBundle.md index bf9519ce1e..1138d7c019 100644 --- a/kubernetes_asyncio/docs/V1beta1ClusterTrustBundle.md +++ b/kubernetes/aio/docs/V1beta1ClusterTrustBundle.md @@ -6,7 +6,7 @@ ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root c Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1ClusterTrustBundleSpec**](V1beta1ClusterTrustBundleSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta1ClusterTrustBundleList.md b/kubernetes/aio/docs/V1beta1ClusterTrustBundleList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1ClusterTrustBundleList.md rename to kubernetes/aio/docs/V1beta1ClusterTrustBundleList.md index 5163ad00c2..a9d2ece4e0 100644 --- a/kubernetes_asyncio/docs/V1beta1ClusterTrustBundleList.md +++ b/kubernetes/aio/docs/V1beta1ClusterTrustBundleList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1ClusterTrustBundle]**](V1beta1ClusterTrustBundle.md) | items is a collection of ClusterTrustBundle objects | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1ClusterTrustBundleSpec.md b/kubernetes/aio/docs/V1beta1ClusterTrustBundleSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ClusterTrustBundleSpec.md rename to kubernetes/aio/docs/V1beta1ClusterTrustBundleSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1Counter.md b/kubernetes/aio/docs/V1beta1Counter.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1Counter.md rename to kubernetes/aio/docs/V1beta1Counter.md diff --git a/kubernetes_asyncio/docs/V1beta1CounterSet.md b/kubernetes/aio/docs/V1beta1CounterSet.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1CounterSet.md rename to kubernetes/aio/docs/V1beta1CounterSet.md diff --git a/kubernetes_asyncio/docs/V1beta1Device.md b/kubernetes/aio/docs/V1beta1Device.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1Device.md rename to kubernetes/aio/docs/V1beta1Device.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceAllocationConfiguration.md b/kubernetes/aio/docs/V1beta1DeviceAllocationConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceAllocationConfiguration.md rename to kubernetes/aio/docs/V1beta1DeviceAllocationConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceAllocationResult.md b/kubernetes/aio/docs/V1beta1DeviceAllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceAllocationResult.md rename to kubernetes/aio/docs/V1beta1DeviceAllocationResult.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceAttribute.md b/kubernetes/aio/docs/V1beta1DeviceAttribute.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceAttribute.md rename to kubernetes/aio/docs/V1beta1DeviceAttribute.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceCapacity.md b/kubernetes/aio/docs/V1beta1DeviceCapacity.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceCapacity.md rename to kubernetes/aio/docs/V1beta1DeviceCapacity.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceClaim.md b/kubernetes/aio/docs/V1beta1DeviceClaim.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceClaim.md rename to kubernetes/aio/docs/V1beta1DeviceClaim.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceClaimConfiguration.md b/kubernetes/aio/docs/V1beta1DeviceClaimConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceClaimConfiguration.md rename to kubernetes/aio/docs/V1beta1DeviceClaimConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceClass.md b/kubernetes/aio/docs/V1beta1DeviceClass.md similarity index 84% rename from kubernetes_asyncio/docs/V1beta1DeviceClass.md rename to kubernetes/aio/docs/V1beta1DeviceClass.md index 8c2b5bc1f8..7109d54c37 100644 --- a/kubernetes_asyncio/docs/V1beta1DeviceClass.md +++ b/kubernetes/aio/docs/V1beta1DeviceClass.md @@ -6,7 +6,7 @@ DeviceClass is a vendor- or admin-provided resource that contains device configu Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1DeviceClassSpec**](V1beta1DeviceClassSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta1DeviceClassConfiguration.md b/kubernetes/aio/docs/V1beta1DeviceClassConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceClassConfiguration.md rename to kubernetes/aio/docs/V1beta1DeviceClassConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceClassList.md b/kubernetes/aio/docs/V1beta1DeviceClassList.md similarity index 81% rename from kubernetes_asyncio/docs/V1beta1DeviceClassList.md rename to kubernetes/aio/docs/V1beta1DeviceClassList.md index 550921fc52..6d22c76cb1 100644 --- a/kubernetes_asyncio/docs/V1beta1DeviceClassList.md +++ b/kubernetes/aio/docs/V1beta1DeviceClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1DeviceClass]**](V1beta1DeviceClass.md) | Items is the list of resource classes. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1DeviceClassSpec.md b/kubernetes/aio/docs/V1beta1DeviceClassSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceClassSpec.md rename to kubernetes/aio/docs/V1beta1DeviceClassSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceConstraint.md b/kubernetes/aio/docs/V1beta1DeviceConstraint.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceConstraint.md rename to kubernetes/aio/docs/V1beta1DeviceConstraint.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceCounterConsumption.md b/kubernetes/aio/docs/V1beta1DeviceCounterConsumption.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceCounterConsumption.md rename to kubernetes/aio/docs/V1beta1DeviceCounterConsumption.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceRequest.md b/kubernetes/aio/docs/V1beta1DeviceRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceRequest.md rename to kubernetes/aio/docs/V1beta1DeviceRequest.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceRequestAllocationResult.md b/kubernetes/aio/docs/V1beta1DeviceRequestAllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceRequestAllocationResult.md rename to kubernetes/aio/docs/V1beta1DeviceRequestAllocationResult.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceSelector.md b/kubernetes/aio/docs/V1beta1DeviceSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceSelector.md rename to kubernetes/aio/docs/V1beta1DeviceSelector.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceSubRequest.md b/kubernetes/aio/docs/V1beta1DeviceSubRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceSubRequest.md rename to kubernetes/aio/docs/V1beta1DeviceSubRequest.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceTaint.md b/kubernetes/aio/docs/V1beta1DeviceTaint.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceTaint.md rename to kubernetes/aio/docs/V1beta1DeviceTaint.md diff --git a/kubernetes_asyncio/docs/V1beta1DeviceToleration.md b/kubernetes/aio/docs/V1beta1DeviceToleration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1DeviceToleration.md rename to kubernetes/aio/docs/V1beta1DeviceToleration.md diff --git a/kubernetes_asyncio/docs/V1beta1IPAddress.md b/kubernetes/aio/docs/V1beta1IPAddress.md similarity index 87% rename from kubernetes_asyncio/docs/V1beta1IPAddress.md rename to kubernetes/aio/docs/V1beta1IPAddress.md index b33508a8f2..dbf709fb18 100644 --- a/kubernetes_asyncio/docs/V1beta1IPAddress.md +++ b/kubernetes/aio/docs/V1beta1IPAddress.md @@ -6,7 +6,7 @@ IPAddress represents a single IP of a single IP Family. The object is designed t Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1IPAddressSpec**](V1beta1IPAddressSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta1IPAddressList.md b/kubernetes/aio/docs/V1beta1IPAddressList.md similarity index 81% rename from kubernetes_asyncio/docs/V1beta1IPAddressList.md rename to kubernetes/aio/docs/V1beta1IPAddressList.md index d26afd3c1d..6ebf631162 100644 --- a/kubernetes_asyncio/docs/V1beta1IPAddressList.md +++ b/kubernetes/aio/docs/V1beta1IPAddressList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1IPAddress]**](V1beta1IPAddress.md) | items is the list of IPAddresses. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1IPAddressSpec.md b/kubernetes/aio/docs/V1beta1IPAddressSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1IPAddressSpec.md rename to kubernetes/aio/docs/V1beta1IPAddressSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1JSONPatch.md b/kubernetes/aio/docs/V1beta1JSONPatch.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1JSONPatch.md rename to kubernetes/aio/docs/V1beta1JSONPatch.md diff --git a/kubernetes_asyncio/docs/V1beta1LeaseCandidate.md b/kubernetes/aio/docs/V1beta1LeaseCandidate.md similarity index 83% rename from kubernetes_asyncio/docs/V1beta1LeaseCandidate.md rename to kubernetes/aio/docs/V1beta1LeaseCandidate.md index 915635f8b5..740d61fcfa 100644 --- a/kubernetes_asyncio/docs/V1beta1LeaseCandidate.md +++ b/kubernetes/aio/docs/V1beta1LeaseCandidate.md @@ -6,7 +6,7 @@ LeaseCandidate defines a candidate for a Lease object. Candidates are created su Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1LeaseCandidateSpec**](V1beta1LeaseCandidateSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta1LeaseCandidateList.md b/kubernetes/aio/docs/V1beta1LeaseCandidateList.md similarity index 81% rename from kubernetes_asyncio/docs/V1beta1LeaseCandidateList.md rename to kubernetes/aio/docs/V1beta1LeaseCandidateList.md index 7746a805c7..1f60894b31 100644 --- a/kubernetes_asyncio/docs/V1beta1LeaseCandidateList.md +++ b/kubernetes/aio/docs/V1beta1LeaseCandidateList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1LeaseCandidate]**](V1beta1LeaseCandidate.md) | items is a list of schema objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1LeaseCandidateSpec.md b/kubernetes/aio/docs/V1beta1LeaseCandidateSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1LeaseCandidateSpec.md rename to kubernetes/aio/docs/V1beta1LeaseCandidateSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1MatchCondition.md b/kubernetes/aio/docs/V1beta1MatchCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1MatchCondition.md rename to kubernetes/aio/docs/V1beta1MatchCondition.md diff --git a/kubernetes_asyncio/docs/V1beta1MatchResources.md b/kubernetes/aio/docs/V1beta1MatchResources.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1MatchResources.md rename to kubernetes/aio/docs/V1beta1MatchResources.md diff --git a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicy.md b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicy.md similarity index 83% rename from kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicy.md rename to kubernetes/aio/docs/V1beta1MutatingAdmissionPolicy.md index 5ef4e8e0eb..d9b3e9dd6a 100644 --- a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicy.md +++ b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicy.md @@ -6,7 +6,7 @@ MutatingAdmissionPolicy describes the definition of an admission mutation policy Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1MutatingAdmissionPolicySpec**](V1beta1MutatingAdmissionPolicySpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBinding.md b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBinding.md similarity index 88% rename from kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBinding.md rename to kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBinding.md index e343f64de6..931b7ffe67 100644 --- a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBinding.md +++ b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBinding.md @@ -6,7 +6,7 @@ MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametriz Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1MutatingAdmissionPolicyBindingSpec**](V1beta1MutatingAdmissionPolicyBindingSpec.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBindingList.md b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBindingList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBindingList.md rename to kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBindingList.md index 599b155b02..0edda1d0fc 100644 --- a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBindingList.md +++ b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBindingList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1MutatingAdmissionPolicyBinding]**](V1beta1MutatingAdmissionPolicyBinding.md) | List of PolicyBinding. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md rename to kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyList.md b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyList.md rename to kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyList.md index a920d648ec..0893ed8bb2 100644 --- a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicyList.md +++ b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicyList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1MutatingAdmissionPolicy]**](V1beta1MutatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicySpec.md b/kubernetes/aio/docs/V1beta1MutatingAdmissionPolicySpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1MutatingAdmissionPolicySpec.md rename to kubernetes/aio/docs/V1beta1MutatingAdmissionPolicySpec.md diff --git a/kubernetes_asyncio/docs/V1beta1Mutation.md b/kubernetes/aio/docs/V1beta1Mutation.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1Mutation.md rename to kubernetes/aio/docs/V1beta1Mutation.md diff --git a/kubernetes_asyncio/docs/V1beta1NamedRuleWithOperations.md b/kubernetes/aio/docs/V1beta1NamedRuleWithOperations.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1NamedRuleWithOperations.md rename to kubernetes/aio/docs/V1beta1NamedRuleWithOperations.md diff --git a/kubernetes_asyncio/docs/V1beta1NetworkDeviceData.md b/kubernetes/aio/docs/V1beta1NetworkDeviceData.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1NetworkDeviceData.md rename to kubernetes/aio/docs/V1beta1NetworkDeviceData.md diff --git a/kubernetes_asyncio/docs/V1beta1NodeAllocatableResourceMapping.md b/kubernetes/aio/docs/V1beta1NodeAllocatableResourceMapping.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1NodeAllocatableResourceMapping.md rename to kubernetes/aio/docs/V1beta1NodeAllocatableResourceMapping.md diff --git a/kubernetes_asyncio/docs/V1beta1OpaqueDeviceConfiguration.md b/kubernetes/aio/docs/V1beta1OpaqueDeviceConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1OpaqueDeviceConfiguration.md rename to kubernetes/aio/docs/V1beta1OpaqueDeviceConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta1ParamKind.md b/kubernetes/aio/docs/V1beta1ParamKind.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ParamKind.md rename to kubernetes/aio/docs/V1beta1ParamKind.md diff --git a/kubernetes_asyncio/docs/V1beta1ParamRef.md b/kubernetes/aio/docs/V1beta1ParamRef.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ParamRef.md rename to kubernetes/aio/docs/V1beta1ParamRef.md diff --git a/kubernetes_asyncio/docs/V1beta1ParentReference.md b/kubernetes/aio/docs/V1beta1ParentReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ParentReference.md rename to kubernetes/aio/docs/V1beta1ParentReference.md diff --git a/kubernetes_asyncio/docs/V1beta1PodCertificateRequest.md b/kubernetes/aio/docs/V1beta1PodCertificateRequest.md similarity index 84% rename from kubernetes_asyncio/docs/V1beta1PodCertificateRequest.md rename to kubernetes/aio/docs/V1beta1PodCertificateRequest.md index 9041fa0ff8..1ed0e4de6f 100644 --- a/kubernetes_asyncio/docs/V1beta1PodCertificateRequest.md +++ b/kubernetes/aio/docs/V1beta1PodCertificateRequest.md @@ -6,7 +6,7 @@ PodCertificateRequest encodes a pod requesting a certificate from a given signer Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1PodCertificateRequestSpec**](V1beta1PodCertificateRequestSpec.md) | | **status** | [**V1beta1PodCertificateRequestStatus**](V1beta1PodCertificateRequestStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1PodCertificateRequestList.md b/kubernetes/aio/docs/V1beta1PodCertificateRequestList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1PodCertificateRequestList.md rename to kubernetes/aio/docs/V1beta1PodCertificateRequestList.md index dbf1487cfa..285ae16019 100644 --- a/kubernetes_asyncio/docs/V1beta1PodCertificateRequestList.md +++ b/kubernetes/aio/docs/V1beta1PodCertificateRequestList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1PodCertificateRequest]**](V1beta1PodCertificateRequest.md) | items is a collection of PodCertificateRequest objects | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1PodCertificateRequestSpec.md b/kubernetes/aio/docs/V1beta1PodCertificateRequestSpec.md similarity index 96% rename from kubernetes_asyncio/docs/V1beta1PodCertificateRequestSpec.md rename to kubernetes/aio/docs/V1beta1PodCertificateRequestSpec.md index 242cd82d9c..a202403646 100644 --- a/kubernetes_asyncio/docs/V1beta1PodCertificateRequestSpec.md +++ b/kubernetes/aio/docs/V1beta1PodCertificateRequestSpec.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **proof_of_possession** | **str** | A proof that the requesting kubelet holds the private key corresponding to pkixPublicKey. It is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`. kube-apiserver validates the proof of possession during creation of the PodCertificateRequest. If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options). If the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1) If the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign). Deprecated: This field is replaced by StubPKCS10Request. If StubPKCS10Request is set, this field must be empty. | [optional] **service_account_name** | **str** | serviceAccountName is the name of the service account the pod is running as. | **service_account_uid** | **str** | serviceAccountUID is the UID of the service account the pod is running as. | -**signer_name** | **str** | signerName indicates the requested signer. All signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-kubernetes_asyncio.client-pod`, which will issue kubernetes_asyncio.client certificates understood by kube-apiserver. It is currently unimplemented. | +**signer_name** | **str** | signerName indicates the requested signer. All signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-kubernetes.aio.client-pod`, which will issue kubernetes.aio.client certificates understood by kube-apiserver. It is currently unimplemented. | **stub_pkcs10_request** | **str** | A PKCS#10 certificate signing request (DER-serialized) generated by Kubelet using the subject private key. Most signer implementations will ignore the contents of the CSR except to extract the subject public key. The API server automatically verifies the CSR signature during admission, so the signer does not need to repeat the verification. CSRs generated by kubelet are completely empty. The subject public key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future. Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field. | **unverified_user_annotations** | **dict[str, str]** | unverifiedUserAnnotations allow pod authors to pass additional information to the signer implementation. Kubernetes does not restrict or validate this metadata in any way. Entries are subject to the same validation as object metadata annotations, with the addition that all keys must be domain-prefixed. No restrictions are placed on values, except an overall size limitation on the entire field. Signers should document the keys and values they support. Signers should deny requests that contain keys they do not recognize. | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1PodCertificateRequestStatus.md b/kubernetes/aio/docs/V1beta1PodCertificateRequestStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1PodCertificateRequestStatus.md rename to kubernetes/aio/docs/V1beta1PodCertificateRequestStatus.md diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaim.md b/kubernetes/aio/docs/V1beta1ResourceClaim.md similarity index 86% rename from kubernetes_asyncio/docs/V1beta1ResourceClaim.md rename to kubernetes/aio/docs/V1beta1ResourceClaim.md index 2b0f83fb02..1abbb507ac 100644 --- a/kubernetes_asyncio/docs/V1beta1ResourceClaim.md +++ b/kubernetes/aio/docs/V1beta1ResourceClaim.md @@ -6,7 +6,7 @@ ResourceClaim describes a request for access to resources in the cluster, for us Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1ResourceClaimSpec**](V1beta1ResourceClaimSpec.md) | | **status** | [**V1beta1ResourceClaimStatus**](V1beta1ResourceClaimStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaimConsumerReference.md b/kubernetes/aio/docs/V1beta1ResourceClaimConsumerReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ResourceClaimConsumerReference.md rename to kubernetes/aio/docs/V1beta1ResourceClaimConsumerReference.md diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaimList.md b/kubernetes/aio/docs/V1beta1ResourceClaimList.md similarity index 81% rename from kubernetes_asyncio/docs/V1beta1ResourceClaimList.md rename to kubernetes/aio/docs/V1beta1ResourceClaimList.md index ce6d7d8de0..48b44952ae 100644 --- a/kubernetes_asyncio/docs/V1beta1ResourceClaimList.md +++ b/kubernetes/aio/docs/V1beta1ResourceClaimList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1ResourceClaim]**](V1beta1ResourceClaim.md) | Items is the list of resource claims. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaimSpec.md b/kubernetes/aio/docs/V1beta1ResourceClaimSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ResourceClaimSpec.md rename to kubernetes/aio/docs/V1beta1ResourceClaimSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaimStatus.md b/kubernetes/aio/docs/V1beta1ResourceClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ResourceClaimStatus.md rename to kubernetes/aio/docs/V1beta1ResourceClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaimTemplate.md b/kubernetes/aio/docs/V1beta1ResourceClaimTemplate.md similarity index 83% rename from kubernetes_asyncio/docs/V1beta1ResourceClaimTemplate.md rename to kubernetes/aio/docs/V1beta1ResourceClaimTemplate.md index aa676411fc..c7ca5e7fdd 100644 --- a/kubernetes_asyncio/docs/V1beta1ResourceClaimTemplate.md +++ b/kubernetes/aio/docs/V1beta1ResourceClaimTemplate.md @@ -6,7 +6,7 @@ ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alph Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1ResourceClaimTemplateSpec**](V1beta1ResourceClaimTemplateSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaimTemplateList.md b/kubernetes/aio/docs/V1beta1ResourceClaimTemplateList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1ResourceClaimTemplateList.md rename to kubernetes/aio/docs/V1beta1ResourceClaimTemplateList.md index 08e095e509..bbe83ae353 100644 --- a/kubernetes_asyncio/docs/V1beta1ResourceClaimTemplateList.md +++ b/kubernetes/aio/docs/V1beta1ResourceClaimTemplateList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1ResourceClaimTemplate]**](V1beta1ResourceClaimTemplate.md) | Items is the list of resource claim templates. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1ResourceClaimTemplateSpec.md b/kubernetes/aio/docs/V1beta1ResourceClaimTemplateSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ResourceClaimTemplateSpec.md rename to kubernetes/aio/docs/V1beta1ResourceClaimTemplateSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1ResourcePool.md b/kubernetes/aio/docs/V1beta1ResourcePool.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ResourcePool.md rename to kubernetes/aio/docs/V1beta1ResourcePool.md diff --git a/kubernetes_asyncio/docs/V1beta1ResourceSlice.md b/kubernetes/aio/docs/V1beta1ResourceSlice.md similarity index 91% rename from kubernetes_asyncio/docs/V1beta1ResourceSlice.md rename to kubernetes/aio/docs/V1beta1ResourceSlice.md index cf484de823..3cf43b439f 100644 --- a/kubernetes_asyncio/docs/V1beta1ResourceSlice.md +++ b/kubernetes/aio/docs/V1beta1ResourceSlice.md @@ -6,7 +6,7 @@ ResourceSlice represents one or more resources in a pool of similar resources, m Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1ResourceSliceSpec**](V1beta1ResourceSliceSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta1ResourceSliceList.md b/kubernetes/aio/docs/V1beta1ResourceSliceList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1ResourceSliceList.md rename to kubernetes/aio/docs/V1beta1ResourceSliceList.md index 83883450a9..c094de2bbb 100644 --- a/kubernetes_asyncio/docs/V1beta1ResourceSliceList.md +++ b/kubernetes/aio/docs/V1beta1ResourceSliceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1ResourceSlice]**](V1beta1ResourceSlice.md) | Items is the list of resource ResourceSlices. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1ResourceSliceSpec.md b/kubernetes/aio/docs/V1beta1ResourceSliceSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ResourceSliceSpec.md rename to kubernetes/aio/docs/V1beta1ResourceSliceSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1ServiceCIDR.md b/kubernetes/aio/docs/V1beta1ServiceCIDR.md similarity index 84% rename from kubernetes_asyncio/docs/V1beta1ServiceCIDR.md rename to kubernetes/aio/docs/V1beta1ServiceCIDR.md index 0c6cd29ded..c773e15014 100644 --- a/kubernetes_asyncio/docs/V1beta1ServiceCIDR.md +++ b/kubernetes/aio/docs/V1beta1ServiceCIDR.md @@ -6,7 +6,7 @@ ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1ServiceCIDRSpec**](V1beta1ServiceCIDRSpec.md) | | [optional] **status** | [**V1beta1ServiceCIDRStatus**](V1beta1ServiceCIDRStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1ServiceCIDRList.md b/kubernetes/aio/docs/V1beta1ServiceCIDRList.md similarity index 81% rename from kubernetes_asyncio/docs/V1beta1ServiceCIDRList.md rename to kubernetes/aio/docs/V1beta1ServiceCIDRList.md index a461e95d8e..634ef331f8 100644 --- a/kubernetes_asyncio/docs/V1beta1ServiceCIDRList.md +++ b/kubernetes/aio/docs/V1beta1ServiceCIDRList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1ServiceCIDR]**](V1beta1ServiceCIDR.md) | items is the list of ServiceCIDRs. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1ServiceCIDRSpec.md b/kubernetes/aio/docs/V1beta1ServiceCIDRSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ServiceCIDRSpec.md rename to kubernetes/aio/docs/V1beta1ServiceCIDRSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1ServiceCIDRStatus.md b/kubernetes/aio/docs/V1beta1ServiceCIDRStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1ServiceCIDRStatus.md rename to kubernetes/aio/docs/V1beta1ServiceCIDRStatus.md diff --git a/kubernetes_asyncio/docs/V1beta1StorageVersionMigration.md b/kubernetes/aio/docs/V1beta1StorageVersionMigration.md similarity index 84% rename from kubernetes_asyncio/docs/V1beta1StorageVersionMigration.md rename to kubernetes/aio/docs/V1beta1StorageVersionMigration.md index 768033a371..eac76c71ea 100644 --- a/kubernetes_asyncio/docs/V1beta1StorageVersionMigration.md +++ b/kubernetes/aio/docs/V1beta1StorageVersionMigration.md @@ -6,7 +6,7 @@ StorageVersionMigration represents a migration of stored data to the latest stor Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1StorageVersionMigrationSpec**](V1beta1StorageVersionMigrationSpec.md) | | [optional] **status** | [**V1beta1StorageVersionMigrationStatus**](V1beta1StorageVersionMigrationStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1StorageVersionMigrationList.md b/kubernetes/aio/docs/V1beta1StorageVersionMigrationList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1StorageVersionMigrationList.md rename to kubernetes/aio/docs/V1beta1StorageVersionMigrationList.md index a2d3f93398..210d3b5860 100644 --- a/kubernetes_asyncio/docs/V1beta1StorageVersionMigrationList.md +++ b/kubernetes/aio/docs/V1beta1StorageVersionMigrationList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1StorageVersionMigration]**](V1beta1StorageVersionMigration.md) | Items is the list of StorageVersionMigration | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta1StorageVersionMigrationSpec.md b/kubernetes/aio/docs/V1beta1StorageVersionMigrationSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1StorageVersionMigrationSpec.md rename to kubernetes/aio/docs/V1beta1StorageVersionMigrationSpec.md diff --git a/kubernetes_asyncio/docs/V1beta1StorageVersionMigrationStatus.md b/kubernetes/aio/docs/V1beta1StorageVersionMigrationStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1StorageVersionMigrationStatus.md rename to kubernetes/aio/docs/V1beta1StorageVersionMigrationStatus.md diff --git a/kubernetes_asyncio/docs/V1beta1Variable.md b/kubernetes/aio/docs/V1beta1Variable.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta1Variable.md rename to kubernetes/aio/docs/V1beta1Variable.md diff --git a/kubernetes_asyncio/docs/V1beta1VolumeAttributesClass.md b/kubernetes/aio/docs/V1beta1VolumeAttributesClass.md similarity index 90% rename from kubernetes_asyncio/docs/V1beta1VolumeAttributesClass.md rename to kubernetes/aio/docs/V1beta1VolumeAttributesClass.md index 68f5f87513..e14b0c42a6 100644 --- a/kubernetes_asyncio/docs/V1beta1VolumeAttributesClass.md +++ b/kubernetes/aio/docs/V1beta1VolumeAttributesClass.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **driver_name** | **str** | Name of the CSI driver This field is immutable. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **parameters** | **dict[str, str]** | parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field. | [optional] diff --git a/kubernetes_asyncio/docs/V1beta1VolumeAttributesClassList.md b/kubernetes/aio/docs/V1beta1VolumeAttributesClassList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta1VolumeAttributesClassList.md rename to kubernetes/aio/docs/V1beta1VolumeAttributesClassList.md index 4539b3a545..72eb7f2a2c 100644 --- a/kubernetes_asyncio/docs/V1beta1VolumeAttributesClassList.md +++ b/kubernetes/aio/docs/V1beta1VolumeAttributesClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta1VolumeAttributesClass]**](V1beta1VolumeAttributesClass.md) | items is the list of VolumeAttributesClass objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta2AllocatedDeviceStatus.md b/kubernetes/aio/docs/V1beta2AllocatedDeviceStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2AllocatedDeviceStatus.md rename to kubernetes/aio/docs/V1beta2AllocatedDeviceStatus.md diff --git a/kubernetes_asyncio/docs/V1beta2AllocationResult.md b/kubernetes/aio/docs/V1beta2AllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2AllocationResult.md rename to kubernetes/aio/docs/V1beta2AllocationResult.md diff --git a/kubernetes_asyncio/docs/V1beta2CELDeviceSelector.md b/kubernetes/aio/docs/V1beta2CELDeviceSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2CELDeviceSelector.md rename to kubernetes/aio/docs/V1beta2CELDeviceSelector.md diff --git a/kubernetes_asyncio/docs/V1beta2CapacityRequestPolicy.md b/kubernetes/aio/docs/V1beta2CapacityRequestPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2CapacityRequestPolicy.md rename to kubernetes/aio/docs/V1beta2CapacityRequestPolicy.md diff --git a/kubernetes_asyncio/docs/V1beta2CapacityRequestPolicyRange.md b/kubernetes/aio/docs/V1beta2CapacityRequestPolicyRange.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2CapacityRequestPolicyRange.md rename to kubernetes/aio/docs/V1beta2CapacityRequestPolicyRange.md diff --git a/kubernetes_asyncio/docs/V1beta2CapacityRequirements.md b/kubernetes/aio/docs/V1beta2CapacityRequirements.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2CapacityRequirements.md rename to kubernetes/aio/docs/V1beta2CapacityRequirements.md diff --git a/kubernetes_asyncio/docs/V1beta2Counter.md b/kubernetes/aio/docs/V1beta2Counter.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2Counter.md rename to kubernetes/aio/docs/V1beta2Counter.md diff --git a/kubernetes_asyncio/docs/V1beta2CounterSet.md b/kubernetes/aio/docs/V1beta2CounterSet.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2CounterSet.md rename to kubernetes/aio/docs/V1beta2CounterSet.md diff --git a/kubernetes_asyncio/docs/V1beta2Device.md b/kubernetes/aio/docs/V1beta2Device.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2Device.md rename to kubernetes/aio/docs/V1beta2Device.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceAllocationConfiguration.md b/kubernetes/aio/docs/V1beta2DeviceAllocationConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceAllocationConfiguration.md rename to kubernetes/aio/docs/V1beta2DeviceAllocationConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceAllocationResult.md b/kubernetes/aio/docs/V1beta2DeviceAllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceAllocationResult.md rename to kubernetes/aio/docs/V1beta2DeviceAllocationResult.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceAttribute.md b/kubernetes/aio/docs/V1beta2DeviceAttribute.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceAttribute.md rename to kubernetes/aio/docs/V1beta2DeviceAttribute.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceCapacity.md b/kubernetes/aio/docs/V1beta2DeviceCapacity.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceCapacity.md rename to kubernetes/aio/docs/V1beta2DeviceCapacity.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceClaim.md b/kubernetes/aio/docs/V1beta2DeviceClaim.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceClaim.md rename to kubernetes/aio/docs/V1beta2DeviceClaim.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceClaimConfiguration.md b/kubernetes/aio/docs/V1beta2DeviceClaimConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceClaimConfiguration.md rename to kubernetes/aio/docs/V1beta2DeviceClaimConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceClass.md b/kubernetes/aio/docs/V1beta2DeviceClass.md similarity index 84% rename from kubernetes_asyncio/docs/V1beta2DeviceClass.md rename to kubernetes/aio/docs/V1beta2DeviceClass.md index a667594017..178f4ddaff 100644 --- a/kubernetes_asyncio/docs/V1beta2DeviceClass.md +++ b/kubernetes/aio/docs/V1beta2DeviceClass.md @@ -6,7 +6,7 @@ DeviceClass is a vendor- or admin-provided resource that contains device configu Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta2DeviceClassSpec**](V1beta2DeviceClassSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta2DeviceClassConfiguration.md b/kubernetes/aio/docs/V1beta2DeviceClassConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceClassConfiguration.md rename to kubernetes/aio/docs/V1beta2DeviceClassConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceClassList.md b/kubernetes/aio/docs/V1beta2DeviceClassList.md similarity index 81% rename from kubernetes_asyncio/docs/V1beta2DeviceClassList.md rename to kubernetes/aio/docs/V1beta2DeviceClassList.md index 248a34ec39..84aff42b8a 100644 --- a/kubernetes_asyncio/docs/V1beta2DeviceClassList.md +++ b/kubernetes/aio/docs/V1beta2DeviceClassList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta2DeviceClass]**](V1beta2DeviceClass.md) | Items is the list of resource classes. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta2DeviceClassSpec.md b/kubernetes/aio/docs/V1beta2DeviceClassSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceClassSpec.md rename to kubernetes/aio/docs/V1beta2DeviceClassSpec.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceConstraint.md b/kubernetes/aio/docs/V1beta2DeviceConstraint.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceConstraint.md rename to kubernetes/aio/docs/V1beta2DeviceConstraint.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceCounterConsumption.md b/kubernetes/aio/docs/V1beta2DeviceCounterConsumption.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceCounterConsumption.md rename to kubernetes/aio/docs/V1beta2DeviceCounterConsumption.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceRequest.md b/kubernetes/aio/docs/V1beta2DeviceRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceRequest.md rename to kubernetes/aio/docs/V1beta2DeviceRequest.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceRequestAllocationResult.md b/kubernetes/aio/docs/V1beta2DeviceRequestAllocationResult.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceRequestAllocationResult.md rename to kubernetes/aio/docs/V1beta2DeviceRequestAllocationResult.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceSelector.md b/kubernetes/aio/docs/V1beta2DeviceSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceSelector.md rename to kubernetes/aio/docs/V1beta2DeviceSelector.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceSubRequest.md b/kubernetes/aio/docs/V1beta2DeviceSubRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceSubRequest.md rename to kubernetes/aio/docs/V1beta2DeviceSubRequest.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceTaint.md b/kubernetes/aio/docs/V1beta2DeviceTaint.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceTaint.md rename to kubernetes/aio/docs/V1beta2DeviceTaint.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceTaintRule.md b/kubernetes/aio/docs/V1beta2DeviceTaintRule.md similarity index 84% rename from kubernetes_asyncio/docs/V1beta2DeviceTaintRule.md rename to kubernetes/aio/docs/V1beta2DeviceTaintRule.md index f8f653ced6..2ebb9cf52b 100644 --- a/kubernetes_asyncio/docs/V1beta2DeviceTaintRule.md +++ b/kubernetes/aio/docs/V1beta2DeviceTaintRule.md @@ -6,7 +6,7 @@ DeviceTaintRule adds one taint to all devices which match the selector. This has Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta2DeviceTaintRuleSpec**](V1beta2DeviceTaintRuleSpec.md) | | **status** | [**V1beta2DeviceTaintRuleStatus**](V1beta2DeviceTaintRuleStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta2DeviceTaintRuleList.md b/kubernetes/aio/docs/V1beta2DeviceTaintRuleList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta2DeviceTaintRuleList.md rename to kubernetes/aio/docs/V1beta2DeviceTaintRuleList.md index 124c089e0b..97850b02e0 100644 --- a/kubernetes_asyncio/docs/V1beta2DeviceTaintRuleList.md +++ b/kubernetes/aio/docs/V1beta2DeviceTaintRuleList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta2DeviceTaintRule]**](V1beta2DeviceTaintRule.md) | Items is the list of DeviceTaintRules. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta2DeviceTaintRuleSpec.md b/kubernetes/aio/docs/V1beta2DeviceTaintRuleSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceTaintRuleSpec.md rename to kubernetes/aio/docs/V1beta2DeviceTaintRuleSpec.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceTaintRuleStatus.md b/kubernetes/aio/docs/V1beta2DeviceTaintRuleStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceTaintRuleStatus.md rename to kubernetes/aio/docs/V1beta2DeviceTaintRuleStatus.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceTaintSelector.md b/kubernetes/aio/docs/V1beta2DeviceTaintSelector.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceTaintSelector.md rename to kubernetes/aio/docs/V1beta2DeviceTaintSelector.md diff --git a/kubernetes_asyncio/docs/V1beta2DeviceToleration.md b/kubernetes/aio/docs/V1beta2DeviceToleration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2DeviceToleration.md rename to kubernetes/aio/docs/V1beta2DeviceToleration.md diff --git a/kubernetes_asyncio/docs/V1beta2ExactDeviceRequest.md b/kubernetes/aio/docs/V1beta2ExactDeviceRequest.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2ExactDeviceRequest.md rename to kubernetes/aio/docs/V1beta2ExactDeviceRequest.md diff --git a/kubernetes_asyncio/docs/V1beta2NetworkDeviceData.md b/kubernetes/aio/docs/V1beta2NetworkDeviceData.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2NetworkDeviceData.md rename to kubernetes/aio/docs/V1beta2NetworkDeviceData.md diff --git a/kubernetes_asyncio/docs/V1beta2NodeAllocatableResourceMapping.md b/kubernetes/aio/docs/V1beta2NodeAllocatableResourceMapping.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2NodeAllocatableResourceMapping.md rename to kubernetes/aio/docs/V1beta2NodeAllocatableResourceMapping.md diff --git a/kubernetes_asyncio/docs/V1beta2OpaqueDeviceConfiguration.md b/kubernetes/aio/docs/V1beta2OpaqueDeviceConfiguration.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2OpaqueDeviceConfiguration.md rename to kubernetes/aio/docs/V1beta2OpaqueDeviceConfiguration.md diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaim.md b/kubernetes/aio/docs/V1beta2ResourceClaim.md similarity index 86% rename from kubernetes_asyncio/docs/V1beta2ResourceClaim.md rename to kubernetes/aio/docs/V1beta2ResourceClaim.md index ced2c89588..37aee1cf5d 100644 --- a/kubernetes_asyncio/docs/V1beta2ResourceClaim.md +++ b/kubernetes/aio/docs/V1beta2ResourceClaim.md @@ -6,7 +6,7 @@ ResourceClaim describes a request for access to resources in the cluster, for us Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta2ResourceClaimSpec**](V1beta2ResourceClaimSpec.md) | | **status** | [**V1beta2ResourceClaimStatus**](V1beta2ResourceClaimStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaimConsumerReference.md b/kubernetes/aio/docs/V1beta2ResourceClaimConsumerReference.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2ResourceClaimConsumerReference.md rename to kubernetes/aio/docs/V1beta2ResourceClaimConsumerReference.md diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaimList.md b/kubernetes/aio/docs/V1beta2ResourceClaimList.md similarity index 81% rename from kubernetes_asyncio/docs/V1beta2ResourceClaimList.md rename to kubernetes/aio/docs/V1beta2ResourceClaimList.md index 3f0ddbbaa9..cecd64a6bc 100644 --- a/kubernetes_asyncio/docs/V1beta2ResourceClaimList.md +++ b/kubernetes/aio/docs/V1beta2ResourceClaimList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta2ResourceClaim]**](V1beta2ResourceClaim.md) | Items is the list of resource claims. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaimSpec.md b/kubernetes/aio/docs/V1beta2ResourceClaimSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2ResourceClaimSpec.md rename to kubernetes/aio/docs/V1beta2ResourceClaimSpec.md diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaimStatus.md b/kubernetes/aio/docs/V1beta2ResourceClaimStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2ResourceClaimStatus.md rename to kubernetes/aio/docs/V1beta2ResourceClaimStatus.md diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaimTemplate.md b/kubernetes/aio/docs/V1beta2ResourceClaimTemplate.md similarity index 83% rename from kubernetes_asyncio/docs/V1beta2ResourceClaimTemplate.md rename to kubernetes/aio/docs/V1beta2ResourceClaimTemplate.md index f3734d2e78..6c3b3758a1 100644 --- a/kubernetes_asyncio/docs/V1beta2ResourceClaimTemplate.md +++ b/kubernetes/aio/docs/V1beta2ResourceClaimTemplate.md @@ -6,7 +6,7 @@ ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alph Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta2ResourceClaimTemplateSpec**](V1beta2ResourceClaimTemplateSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaimTemplateList.md b/kubernetes/aio/docs/V1beta2ResourceClaimTemplateList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta2ResourceClaimTemplateList.md rename to kubernetes/aio/docs/V1beta2ResourceClaimTemplateList.md index 0a9e503194..8821281a02 100644 --- a/kubernetes_asyncio/docs/V1beta2ResourceClaimTemplateList.md +++ b/kubernetes/aio/docs/V1beta2ResourceClaimTemplateList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta2ResourceClaimTemplate]**](V1beta2ResourceClaimTemplate.md) | Items is the list of resource claim templates. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta2ResourceClaimTemplateSpec.md b/kubernetes/aio/docs/V1beta2ResourceClaimTemplateSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2ResourceClaimTemplateSpec.md rename to kubernetes/aio/docs/V1beta2ResourceClaimTemplateSpec.md diff --git a/kubernetes_asyncio/docs/V1beta2ResourcePool.md b/kubernetes/aio/docs/V1beta2ResourcePool.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2ResourcePool.md rename to kubernetes/aio/docs/V1beta2ResourcePool.md diff --git a/kubernetes_asyncio/docs/V1beta2ResourceSlice.md b/kubernetes/aio/docs/V1beta2ResourceSlice.md similarity index 91% rename from kubernetes_asyncio/docs/V1beta2ResourceSlice.md rename to kubernetes/aio/docs/V1beta2ResourceSlice.md index 8cfd436978..1cf5c8900a 100644 --- a/kubernetes_asyncio/docs/V1beta2ResourceSlice.md +++ b/kubernetes/aio/docs/V1beta2ResourceSlice.md @@ -6,7 +6,7 @@ ResourceSlice represents one or more resources in a pool of similar resources, m Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta2ResourceSliceSpec**](V1beta2ResourceSliceSpec.md) | | diff --git a/kubernetes_asyncio/docs/V1beta2ResourceSliceList.md b/kubernetes/aio/docs/V1beta2ResourceSliceList.md similarity index 82% rename from kubernetes_asyncio/docs/V1beta2ResourceSliceList.md rename to kubernetes/aio/docs/V1beta2ResourceSliceList.md index 7d025505fd..0b3e2ac2c5 100644 --- a/kubernetes_asyncio/docs/V1beta2ResourceSliceList.md +++ b/kubernetes/aio/docs/V1beta2ResourceSliceList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V1beta2ResourceSlice]**](V1beta2ResourceSlice.md) | Items is the list of resource ResourceSlices. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V1beta2ResourceSliceSpec.md b/kubernetes/aio/docs/V1beta2ResourceSliceSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V1beta2ResourceSliceSpec.md rename to kubernetes/aio/docs/V1beta2ResourceSliceSpec.md diff --git a/kubernetes_asyncio/docs/V2APIGroupDiscovery.md b/kubernetes/aio/docs/V2APIGroupDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2APIGroupDiscovery.md rename to kubernetes/aio/docs/V2APIGroupDiscovery.md diff --git a/kubernetes_asyncio/docs/V2APIGroupDiscoveryList.md b/kubernetes/aio/docs/V2APIGroupDiscoveryList.md similarity index 100% rename from kubernetes_asyncio/docs/V2APIGroupDiscoveryList.md rename to kubernetes/aio/docs/V2APIGroupDiscoveryList.md diff --git a/kubernetes_asyncio/docs/V2APIResourceDiscovery.md b/kubernetes/aio/docs/V2APIResourceDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2APIResourceDiscovery.md rename to kubernetes/aio/docs/V2APIResourceDiscovery.md diff --git a/kubernetes_asyncio/docs/V2APISubresourceDiscovery.md b/kubernetes/aio/docs/V2APISubresourceDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2APISubresourceDiscovery.md rename to kubernetes/aio/docs/V2APISubresourceDiscovery.md diff --git a/kubernetes_asyncio/docs/V2APIVersionDiscovery.md b/kubernetes/aio/docs/V2APIVersionDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2APIVersionDiscovery.md rename to kubernetes/aio/docs/V2APIVersionDiscovery.md diff --git a/kubernetes_asyncio/docs/V2ContainerResourceMetricSource.md b/kubernetes/aio/docs/V2ContainerResourceMetricSource.md similarity index 100% rename from kubernetes_asyncio/docs/V2ContainerResourceMetricSource.md rename to kubernetes/aio/docs/V2ContainerResourceMetricSource.md diff --git a/kubernetes_asyncio/docs/V2ContainerResourceMetricStatus.md b/kubernetes/aio/docs/V2ContainerResourceMetricStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2ContainerResourceMetricStatus.md rename to kubernetes/aio/docs/V2ContainerResourceMetricStatus.md diff --git a/kubernetes_asyncio/docs/V2CrossVersionObjectReference.md b/kubernetes/aio/docs/V2CrossVersionObjectReference.md similarity index 100% rename from kubernetes_asyncio/docs/V2CrossVersionObjectReference.md rename to kubernetes/aio/docs/V2CrossVersionObjectReference.md diff --git a/kubernetes_asyncio/docs/V2ExternalMetricSource.md b/kubernetes/aio/docs/V2ExternalMetricSource.md similarity index 100% rename from kubernetes_asyncio/docs/V2ExternalMetricSource.md rename to kubernetes/aio/docs/V2ExternalMetricSource.md diff --git a/kubernetes_asyncio/docs/V2ExternalMetricStatus.md b/kubernetes/aio/docs/V2ExternalMetricStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2ExternalMetricStatus.md rename to kubernetes/aio/docs/V2ExternalMetricStatus.md diff --git a/kubernetes_asyncio/docs/V2HPAScalingPolicy.md b/kubernetes/aio/docs/V2HPAScalingPolicy.md similarity index 100% rename from kubernetes_asyncio/docs/V2HPAScalingPolicy.md rename to kubernetes/aio/docs/V2HPAScalingPolicy.md diff --git a/kubernetes_asyncio/docs/V2HPAScalingRules.md b/kubernetes/aio/docs/V2HPAScalingRules.md similarity index 100% rename from kubernetes_asyncio/docs/V2HPAScalingRules.md rename to kubernetes/aio/docs/V2HPAScalingRules.md diff --git a/kubernetes_asyncio/docs/V2HorizontalPodAutoscaler.md b/kubernetes/aio/docs/V2HorizontalPodAutoscaler.md similarity index 85% rename from kubernetes_asyncio/docs/V2HorizontalPodAutoscaler.md rename to kubernetes/aio/docs/V2HorizontalPodAutoscaler.md index 59a5707bea..c49869ec1a 100644 --- a/kubernetes_asyncio/docs/V2HorizontalPodAutoscaler.md +++ b/kubernetes/aio/docs/V2HorizontalPodAutoscaler.md @@ -6,7 +6,7 @@ HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, wh Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V2HorizontalPodAutoscalerSpec**](V2HorizontalPodAutoscalerSpec.md) | | **status** | [**V2HorizontalPodAutoscalerStatus**](V2HorizontalPodAutoscalerStatus.md) | | [optional] diff --git a/kubernetes_asyncio/docs/V2HorizontalPodAutoscalerBehavior.md b/kubernetes/aio/docs/V2HorizontalPodAutoscalerBehavior.md similarity index 100% rename from kubernetes_asyncio/docs/V2HorizontalPodAutoscalerBehavior.md rename to kubernetes/aio/docs/V2HorizontalPodAutoscalerBehavior.md diff --git a/kubernetes_asyncio/docs/V2HorizontalPodAutoscalerCondition.md b/kubernetes/aio/docs/V2HorizontalPodAutoscalerCondition.md similarity index 100% rename from kubernetes_asyncio/docs/V2HorizontalPodAutoscalerCondition.md rename to kubernetes/aio/docs/V2HorizontalPodAutoscalerCondition.md diff --git a/kubernetes_asyncio/docs/V2HorizontalPodAutoscalerList.md b/kubernetes/aio/docs/V2HorizontalPodAutoscalerList.md similarity index 82% rename from kubernetes_asyncio/docs/V2HorizontalPodAutoscalerList.md rename to kubernetes/aio/docs/V2HorizontalPodAutoscalerList.md index 50d84a650b..b34dc0659c 100644 --- a/kubernetes_asyncio/docs/V2HorizontalPodAutoscalerList.md +++ b/kubernetes/aio/docs/V2HorizontalPodAutoscalerList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**list[V2HorizontalPodAutoscaler]**](V2HorizontalPodAutoscaler.md) | items is the list of horizontal pod autoscaler objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.aio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes_asyncio/docs/V2HorizontalPodAutoscalerSpec.md b/kubernetes/aio/docs/V2HorizontalPodAutoscalerSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V2HorizontalPodAutoscalerSpec.md rename to kubernetes/aio/docs/V2HorizontalPodAutoscalerSpec.md diff --git a/kubernetes_asyncio/docs/V2HorizontalPodAutoscalerStatus.md b/kubernetes/aio/docs/V2HorizontalPodAutoscalerStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2HorizontalPodAutoscalerStatus.md rename to kubernetes/aio/docs/V2HorizontalPodAutoscalerStatus.md diff --git a/kubernetes_asyncio/docs/V2MetricIdentifier.md b/kubernetes/aio/docs/V2MetricIdentifier.md similarity index 100% rename from kubernetes_asyncio/docs/V2MetricIdentifier.md rename to kubernetes/aio/docs/V2MetricIdentifier.md diff --git a/kubernetes_asyncio/docs/V2MetricSpec.md b/kubernetes/aio/docs/V2MetricSpec.md similarity index 100% rename from kubernetes_asyncio/docs/V2MetricSpec.md rename to kubernetes/aio/docs/V2MetricSpec.md diff --git a/kubernetes_asyncio/docs/V2MetricStatus.md b/kubernetes/aio/docs/V2MetricStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2MetricStatus.md rename to kubernetes/aio/docs/V2MetricStatus.md diff --git a/kubernetes_asyncio/docs/V2MetricTarget.md b/kubernetes/aio/docs/V2MetricTarget.md similarity index 100% rename from kubernetes_asyncio/docs/V2MetricTarget.md rename to kubernetes/aio/docs/V2MetricTarget.md diff --git a/kubernetes_asyncio/docs/V2MetricValueStatus.md b/kubernetes/aio/docs/V2MetricValueStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2MetricValueStatus.md rename to kubernetes/aio/docs/V2MetricValueStatus.md diff --git a/kubernetes_asyncio/docs/V2ObjectMetricSource.md b/kubernetes/aio/docs/V2ObjectMetricSource.md similarity index 100% rename from kubernetes_asyncio/docs/V2ObjectMetricSource.md rename to kubernetes/aio/docs/V2ObjectMetricSource.md diff --git a/kubernetes_asyncio/docs/V2ObjectMetricStatus.md b/kubernetes/aio/docs/V2ObjectMetricStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2ObjectMetricStatus.md rename to kubernetes/aio/docs/V2ObjectMetricStatus.md diff --git a/kubernetes_asyncio/docs/V2PodsMetricSource.md b/kubernetes/aio/docs/V2PodsMetricSource.md similarity index 100% rename from kubernetes_asyncio/docs/V2PodsMetricSource.md rename to kubernetes/aio/docs/V2PodsMetricSource.md diff --git a/kubernetes_asyncio/docs/V2PodsMetricStatus.md b/kubernetes/aio/docs/V2PodsMetricStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2PodsMetricStatus.md rename to kubernetes/aio/docs/V2PodsMetricStatus.md diff --git a/kubernetes_asyncio/docs/V2ResourceMetricSource.md b/kubernetes/aio/docs/V2ResourceMetricSource.md similarity index 100% rename from kubernetes_asyncio/docs/V2ResourceMetricSource.md rename to kubernetes/aio/docs/V2ResourceMetricSource.md diff --git a/kubernetes_asyncio/docs/V2ResourceMetricStatus.md b/kubernetes/aio/docs/V2ResourceMetricStatus.md similarity index 100% rename from kubernetes_asyncio/docs/V2ResourceMetricStatus.md rename to kubernetes/aio/docs/V2ResourceMetricStatus.md diff --git a/kubernetes_asyncio/docs/V2beta1APIGroupDiscovery.md b/kubernetes/aio/docs/V2beta1APIGroupDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2beta1APIGroupDiscovery.md rename to kubernetes/aio/docs/V2beta1APIGroupDiscovery.md diff --git a/kubernetes_asyncio/docs/V2beta1APIGroupDiscoveryList.md b/kubernetes/aio/docs/V2beta1APIGroupDiscoveryList.md similarity index 100% rename from kubernetes_asyncio/docs/V2beta1APIGroupDiscoveryList.md rename to kubernetes/aio/docs/V2beta1APIGroupDiscoveryList.md diff --git a/kubernetes_asyncio/docs/V2beta1APIResourceDiscovery.md b/kubernetes/aio/docs/V2beta1APIResourceDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2beta1APIResourceDiscovery.md rename to kubernetes/aio/docs/V2beta1APIResourceDiscovery.md diff --git a/kubernetes_asyncio/docs/V2beta1APISubresourceDiscovery.md b/kubernetes/aio/docs/V2beta1APISubresourceDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2beta1APISubresourceDiscovery.md rename to kubernetes/aio/docs/V2beta1APISubresourceDiscovery.md diff --git a/kubernetes_asyncio/docs/V2beta1APIVersionDiscovery.md b/kubernetes/aio/docs/V2beta1APIVersionDiscovery.md similarity index 100% rename from kubernetes_asyncio/docs/V2beta1APIVersionDiscovery.md rename to kubernetes/aio/docs/V2beta1APIVersionDiscovery.md diff --git a/kubernetes_asyncio/docs/VersionApi.md b/kubernetes/aio/docs/VersionApi.md similarity index 78% rename from kubernetes_asyncio/docs/VersionApi.md rename to kubernetes/aio/docs/VersionApi.md index 10594a253c..93848b79da 100644 --- a/kubernetes_asyncio/docs/VersionApi.md +++ b/kubernetes/aio/docs/VersionApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.VersionApi +# kubernetes.aio.client.VersionApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get the version information for this server ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.VersionApi(api_client) + api_instance = kubernetes.aio.client.VersionApi(api_client) try: api_response = api_instance.get_code() diff --git a/kubernetes_asyncio/docs/VersionInfo.md b/kubernetes/aio/docs/VersionInfo.md similarity index 100% rename from kubernetes_asyncio/docs/VersionInfo.md rename to kubernetes/aio/docs/VersionInfo.md diff --git a/kubernetes_asyncio/docs/WellKnownApi.md b/kubernetes/aio/docs/WellKnownApi.md similarity index 81% rename from kubernetes_asyncio/docs/WellKnownApi.md rename to kubernetes/aio/docs/WellKnownApi.md index 28080f2619..2aa51cbfe0 100644 --- a/kubernetes_asyncio/docs/WellKnownApi.md +++ b/kubernetes/aio/docs/WellKnownApi.md @@ -1,4 +1,4 @@ -# kubernetes_asyncio.client.WellKnownApi +# kubernetes.aio.client.WellKnownApi All URIs are relative to *http://localhost* @@ -20,16 +20,16 @@ get service account issuer OpenID configuration, also known as the 'OIDC discove ```python from __future__ import print_function import time -import kubernetes_asyncio.client -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. -configuration = kubernetes_asyncio.client.Configuration( +configuration = kubernetes.aio.client.Configuration( host = "http://localhost" ) -# The kubernetes_asyncio.client must configure the authentication and authorization parameters +# The kubernetes.aio.client must configure the authentication and authorization parameters # in accordance with the API server security policy. # Examples for each auth method are provided below, use the example that # satisfies your auth use case. @@ -40,10 +40,10 @@ configuration.api_key['BearerToken'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['BearerToken'] = 'Bearer' -# Enter a context with an instance of the API kubernetes_asyncio.client -with kubernetes_asyncio.client.ApiClient(configuration) as api_client: +# Enter a context with an instance of the API kubernetes.aio.client +with kubernetes.aio.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes_asyncio.client.WellKnownApi(api_client) + api_instance = kubernetes.aio.client.WellKnownApi(api_client) try: api_response = api_instance.get_service_account_issuer_open_id_configuration() diff --git a/kubernetes_asyncio/e2e_test/__init__.py b/kubernetes/aio/e2e_test/__init__.py similarity index 100% rename from kubernetes_asyncio/e2e_test/__init__.py rename to kubernetes/aio/e2e_test/__init__.py diff --git a/kubernetes_asyncio/e2e_test/base.py b/kubernetes/aio/e2e_test/base.py similarity index 93% rename from kubernetes_asyncio/e2e_test/base.py rename to kubernetes/aio/e2e_test/base.py index 811a7f7269..80276d01ec 100644 --- a/kubernetes_asyncio/e2e_test/base.py +++ b/kubernetes/aio/e2e_test/base.py @@ -15,8 +15,8 @@ import os import unittest -from kubernetes_asyncio.client.configuration import Configuration -from kubernetes_asyncio.config import kube_config +from kubernetes.aio.client.configuration import Configuration +from kubernetes.aio.config import kube_config DEFAULT_E2E_HOST = '127.0.0.1' diff --git a/kubernetes_asyncio/e2e_test/test_api.py b/kubernetes/aio/e2e_test/test_api.py similarity index 94% rename from kubernetes_asyncio/e2e_test/test_api.py rename to kubernetes/aio/e2e_test/test_api.py index 1f63c84693..1d911d8c4e 100644 --- a/kubernetes_asyncio/e2e_test/test_api.py +++ b/kubernetes/aio/e2e_test/test_api.py @@ -18,11 +18,11 @@ import yaml -from kubernetes_asyncio import utils -from kubernetes_asyncio.client import api_client -from kubernetes_asyncio.client.api import apps_v1_api -from kubernetes_asyncio.client.models import v1_delete_options -from kubernetes_asyncio.e2e_test import base +from kubernetes.aio import utils +from kubernetes.aio.client import api_client +from kubernetes.aio.client.api import apps_v1_api +from kubernetes.aio.client.models import v1_delete_options +from kubernetes.aio.e2e_test import base class TestClientApi(IsolatedAsyncioTestCase): diff --git a/kubernetes_asyncio/e2e_test/test_apply_patch.py b/kubernetes/aio/e2e_test/test_apply_patch.py similarity index 93% rename from kubernetes_asyncio/e2e_test/test_apply_patch.py rename to kubernetes/aio/e2e_test/test_apply_patch.py index bf8bfc4332..c8c10b8abb 100644 --- a/kubernetes_asyncio/e2e_test/test_apply_patch.py +++ b/kubernetes/aio/e2e_test/test_apply_patch.py @@ -15,9 +15,9 @@ import uuid from unittest import IsolatedAsyncioTestCase -from kubernetes_asyncio.client import api_client -from kubernetes_asyncio.client.api import core_v1_api -from kubernetes_asyncio.e2e_test import base +from kubernetes.aio.client import api_client +from kubernetes.aio.client.api import core_v1_api +from kubernetes.aio.e2e_test import base class TestApplyPatch(IsolatedAsyncioTestCase): diff --git a/kubernetes_asyncio/e2e_test/test_batch.py b/kubernetes/aio/e2e_test/test_batch.py similarity index 92% rename from kubernetes_asyncio/e2e_test/test_batch.py rename to kubernetes/aio/e2e_test/test_batch.py index a2b44e7413..8926cd9b56 100644 --- a/kubernetes_asyncio/e2e_test/test_batch.py +++ b/kubernetes/aio/e2e_test/test_batch.py @@ -15,9 +15,9 @@ import uuid from unittest import IsolatedAsyncioTestCase -from kubernetes_asyncio.client import api_client -from kubernetes_asyncio.client.api import batch_v1_api -from kubernetes_asyncio.e2e_test import base +from kubernetes.aio.client import api_client +from kubernetes.aio.client.api import batch_v1_api +from kubernetes.aio.e2e_test import base class TestClientBatch(IsolatedAsyncioTestCase): diff --git a/kubernetes_asyncio/git_push.sh b/kubernetes/aio/git_push.sh similarity index 100% rename from kubernetes_asyncio/git_push.sh rename to kubernetes/aio/git_push.sh diff --git a/kubernetes_asyncio/requirements.txt b/kubernetes/aio/requirements.txt similarity index 100% rename from kubernetes_asyncio/requirements.txt rename to kubernetes/aio/requirements.txt diff --git a/kubernetes_asyncio/setup.cfg b/kubernetes/aio/setup.cfg similarity index 100% rename from kubernetes_asyncio/setup.cfg rename to kubernetes/aio/setup.cfg diff --git a/kubernetes_asyncio/setup.py b/kubernetes/aio/setup.py similarity index 98% rename from kubernetes_asyncio/setup.py rename to kubernetes/aio/setup.py index bb4a0e5a24..6c7bbc6353 100644 --- a/kubernetes_asyncio/setup.py +++ b/kubernetes/aio/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "client" -VERSION = "36.0.0" +VERSION = "36.0.1" # To install the library, run the following # # python setup.py install diff --git a/kubernetes_asyncio/swagger.json.unprocessed b/kubernetes/aio/swagger.json.unprocessed similarity index 100% rename from kubernetes_asyncio/swagger.json.unprocessed rename to kubernetes/aio/swagger.json.unprocessed diff --git a/kubernetes_asyncio/test-requirements.txt b/kubernetes/aio/test-requirements.txt similarity index 100% rename from kubernetes_asyncio/test-requirements.txt rename to kubernetes/aio/test-requirements.txt diff --git a/kubernetes_asyncio/test/__init__.py b/kubernetes/aio/test/__init__.py similarity index 100% rename from kubernetes_asyncio/test/__init__.py rename to kubernetes/aio/test/__init__.py diff --git a/kubernetes_asyncio/test/test_admissionregistration_api.py b/kubernetes/aio/test/test_admissionregistration_api.py similarity index 68% rename from kubernetes_asyncio/test/test_admissionregistration_api.py rename to kubernetes/aio/test/test_admissionregistration_api.py index 995a24369a..3730b58437 100644 --- a/kubernetes_asyncio/test/test_admissionregistration_api.py +++ b/kubernetes/aio/test/test_admissionregistration_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.admissionregistration_api import AdmissionregistrationApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.admissionregistration_api import AdmissionregistrationApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAdmissionregistrationApi(unittest.IsolatedAsyncioTestCase): """AdmissionregistrationApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.admissionregistration_api.AdmissionregistrationApi() # noqa: E501 + self.api = kubernetes.aio.client.api.admissionregistration_api.AdmissionregistrationApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_admissionregistration_v1_api.py b/kubernetes/aio/test/test_admissionregistration_v1_api.py similarity index 95% rename from kubernetes_asyncio/test/test_admissionregistration_v1_api.py rename to kubernetes/aio/test/test_admissionregistration_v1_api.py index ef07228237..36410ef13f 100644 --- a/kubernetes_asyncio/test/test_admissionregistration_v1_api.py +++ b/kubernetes/aio/test/test_admissionregistration_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAdmissionregistrationV1Api(unittest.IsolatedAsyncioTestCase): """AdmissionregistrationV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.admissionregistration_v1_api.AdmissionregistrationV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.admissionregistration_v1_api.AdmissionregistrationV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_admissionregistration_v1alpha1_api.py b/kubernetes/aio/test/test_admissionregistration_v1alpha1_api.py similarity index 88% rename from kubernetes_asyncio/test/test_admissionregistration_v1alpha1_api.py rename to kubernetes/aio/test/test_admissionregistration_v1alpha1_api.py index 26cca9c781..0f836e122c 100644 --- a/kubernetes_asyncio/test/test_admissionregistration_v1alpha1_api.py +++ b/kubernetes/aio/test/test_admissionregistration_v1alpha1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAdmissionregistrationV1alpha1Api(unittest.IsolatedAsyncioTestCase): """AdmissionregistrationV1alpha1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.admissionregistration_v1alpha1_api.AdmissionregistrationV1alpha1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.admissionregistration_v1alpha1_api.AdmissionregistrationV1alpha1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_admissionregistration_v1beta1_api.py b/kubernetes/aio/test/test_admissionregistration_v1beta1_api.py similarity index 88% rename from kubernetes_asyncio/test/test_admissionregistration_v1beta1_api.py rename to kubernetes/aio/test/test_admissionregistration_v1beta1_api.py index 8125f9a852..0a1a939c4d 100644 --- a/kubernetes_asyncio/test/test_admissionregistration_v1beta1_api.py +++ b/kubernetes/aio/test/test_admissionregistration_v1beta1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAdmissionregistrationV1beta1Api(unittest.IsolatedAsyncioTestCase): """AdmissionregistrationV1beta1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.admissionregistration_v1beta1_api.AdmissionregistrationV1beta1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.admissionregistration_v1beta1_api.AdmissionregistrationV1beta1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_apiextensions_api.py b/kubernetes/aio/test/test_apiextensions_api.py similarity index 70% rename from kubernetes_asyncio/test/test_apiextensions_api.py rename to kubernetes/aio/test/test_apiextensions_api.py index e23f6827af..713160da72 100644 --- a/kubernetes_asyncio/test/test_apiextensions_api.py +++ b/kubernetes/aio/test/test_apiextensions_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.apiextensions_api import ApiextensionsApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.apiextensions_api import ApiextensionsApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestApiextensionsApi(unittest.IsolatedAsyncioTestCase): """ApiextensionsApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.apiextensions_api.ApiextensionsApi() # noqa: E501 + self.api = kubernetes.aio.client.api.apiextensions_api.ApiextensionsApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_apiextensions_v1_api.py b/kubernetes/aio/test/test_apiextensions_v1_api.py similarity index 87% rename from kubernetes_asyncio/test/test_apiextensions_v1_api.py rename to kubernetes/aio/test/test_apiextensions_v1_api.py index aceb0982a4..d4920de1b3 100644 --- a/kubernetes_asyncio/test/test_apiextensions_v1_api.py +++ b/kubernetes/aio/test/test_apiextensions_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.apiextensions_v1_api import ApiextensionsV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.apiextensions_v1_api import ApiextensionsV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestApiextensionsV1Api(unittest.IsolatedAsyncioTestCase): """ApiextensionsV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.apiextensions_v1_api.ApiextensionsV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.apiextensions_v1_api.ApiextensionsV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_apiregistration_api.py b/kubernetes/aio/test/test_apiregistration_api.py similarity index 69% rename from kubernetes_asyncio/test/test_apiregistration_api.py rename to kubernetes/aio/test/test_apiregistration_api.py index f3370123ff..f70dd69a4c 100644 --- a/kubernetes_asyncio/test/test_apiregistration_api.py +++ b/kubernetes/aio/test/test_apiregistration_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.apiregistration_api import ApiregistrationApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.apiregistration_api import ApiregistrationApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestApiregistrationApi(unittest.IsolatedAsyncioTestCase): """ApiregistrationApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.apiregistration_api.ApiregistrationApi() # noqa: E501 + self.api = kubernetes.aio.client.api.apiregistration_api.ApiregistrationApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_apiregistration_v1_api.py b/kubernetes/aio/test/test_apiregistration_v1_api.py similarity index 85% rename from kubernetes_asyncio/test/test_apiregistration_v1_api.py rename to kubernetes/aio/test/test_apiregistration_v1_api.py index f63c39505a..482f990d57 100644 --- a/kubernetes_asyncio/test/test_apiregistration_v1_api.py +++ b/kubernetes/aio/test/test_apiregistration_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.apiregistration_v1_api import ApiregistrationV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.apiregistration_v1_api import ApiregistrationV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestApiregistrationV1Api(unittest.IsolatedAsyncioTestCase): """ApiregistrationV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.apiregistration_v1_api.ApiregistrationV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.apiregistration_v1_api.ApiregistrationV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_apis_api.py b/kubernetes/aio/test/test_apis_api.py similarity index 72% rename from kubernetes_asyncio/test/test_apis_api.py rename to kubernetes/aio/test/test_apis_api.py index 12bb3d98ac..6942bca465 100644 --- a/kubernetes_asyncio/test/test_apis_api.py +++ b/kubernetes/aio/test/test_apis_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.apis_api import ApisApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.apis_api import ApisApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestApisApi(unittest.IsolatedAsyncioTestCase): """ApisApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.apis_api.ApisApi() # noqa: E501 + self.api = kubernetes.aio.client.api.apis_api.ApisApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_apps_api.py b/kubernetes/aio/test/test_apps_api.py similarity index 72% rename from kubernetes_asyncio/test/test_apps_api.py rename to kubernetes/aio/test/test_apps_api.py index 9aa7f9b042..70c98c4f07 100644 --- a/kubernetes_asyncio/test/test_apps_api.py +++ b/kubernetes/aio/test/test_apps_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.apps_api import AppsApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.apps_api import AppsApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAppsApi(unittest.IsolatedAsyncioTestCase): """AppsApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.apps_api.AppsApi() # noqa: E501 + self.api = kubernetes.aio.client.api.apps_api.AppsApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_apps_v1_api.py b/kubernetes/aio/test/test_apps_v1_api.py similarity index 97% rename from kubernetes_asyncio/test/test_apps_v1_api.py rename to kubernetes/aio/test/test_apps_v1_api.py index 33cc3452a8..058b22f64e 100644 --- a/kubernetes_asyncio/test/test_apps_v1_api.py +++ b/kubernetes/aio/test/test_apps_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.apps_v1_api import AppsV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.apps_v1_api import AppsV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAppsV1Api(unittest.IsolatedAsyncioTestCase): """AppsV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.apps_v1_api.AppsV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.apps_v1_api.AppsV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_authentication_api.py b/kubernetes/aio/test/test_authentication_api.py similarity index 69% rename from kubernetes_asyncio/test/test_authentication_api.py rename to kubernetes/aio/test/test_authentication_api.py index f7f8094884..9642f26ba3 100644 --- a/kubernetes_asyncio/test/test_authentication_api.py +++ b/kubernetes/aio/test/test_authentication_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.authentication_api import AuthenticationApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.authentication_api import AuthenticationApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAuthenticationApi(unittest.IsolatedAsyncioTestCase): """AuthenticationApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.authentication_api.AuthenticationApi() # noqa: E501 + self.api = kubernetes.aio.client.api.authentication_api.AuthenticationApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_authentication_v1_api.py b/kubernetes/aio/test/test_authentication_v1_api.py similarity index 75% rename from kubernetes_asyncio/test/test_authentication_v1_api.py rename to kubernetes/aio/test/test_authentication_v1_api.py index ac4dc516f9..3eb00faef7 100644 --- a/kubernetes_asyncio/test/test_authentication_v1_api.py +++ b/kubernetes/aio/test/test_authentication_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.authentication_v1_api import AuthenticationV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.authentication_v1_api import AuthenticationV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAuthenticationV1Api(unittest.IsolatedAsyncioTestCase): """AuthenticationV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.authentication_v1_api.AuthenticationV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.authentication_v1_api.AuthenticationV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_authorization_api.py b/kubernetes/aio/test/test_authorization_api.py similarity index 70% rename from kubernetes_asyncio/test/test_authorization_api.py rename to kubernetes/aio/test/test_authorization_api.py index c08965582e..ff4b3c23c4 100644 --- a/kubernetes_asyncio/test/test_authorization_api.py +++ b/kubernetes/aio/test/test_authorization_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.authorization_api import AuthorizationApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.authorization_api import AuthorizationApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAuthorizationApi(unittest.IsolatedAsyncioTestCase): """AuthorizationApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.authorization_api.AuthorizationApi() # noqa: E501 + self.api = kubernetes.aio.client.api.authorization_api.AuthorizationApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_authorization_v1_api.py b/kubernetes/aio/test/test_authorization_v1_api.py similarity index 81% rename from kubernetes_asyncio/test/test_authorization_v1_api.py rename to kubernetes/aio/test/test_authorization_v1_api.py index 7a642cfe0f..593359213c 100644 --- a/kubernetes_asyncio/test/test_authorization_v1_api.py +++ b/kubernetes/aio/test/test_authorization_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.authorization_v1_api import AuthorizationV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.authorization_v1_api import AuthorizationV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAuthorizationV1Api(unittest.IsolatedAsyncioTestCase): """AuthorizationV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.authorization_v1_api.AuthorizationV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.authorization_v1_api.AuthorizationV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_autoscaling_api.py b/kubernetes/aio/test/test_autoscaling_api.py similarity index 70% rename from kubernetes_asyncio/test/test_autoscaling_api.py rename to kubernetes/aio/test/test_autoscaling_api.py index 9b59a5e69c..6b085d1e70 100644 --- a/kubernetes_asyncio/test/test_autoscaling_api.py +++ b/kubernetes/aio/test/test_autoscaling_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.autoscaling_api import AutoscalingApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.autoscaling_api import AutoscalingApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAutoscalingApi(unittest.IsolatedAsyncioTestCase): """AutoscalingApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.autoscaling_api.AutoscalingApi() # noqa: E501 + self.api = kubernetes.aio.client.api.autoscaling_api.AutoscalingApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_autoscaling_v1_api.py b/kubernetes/aio/test/test_autoscaling_v1_api.py similarity index 89% rename from kubernetes_asyncio/test/test_autoscaling_v1_api.py rename to kubernetes/aio/test/test_autoscaling_v1_api.py index b3c79e18f4..0f85672fc2 100644 --- a/kubernetes_asyncio/test/test_autoscaling_v1_api.py +++ b/kubernetes/aio/test/test_autoscaling_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.autoscaling_v1_api import AutoscalingV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.autoscaling_v1_api import AutoscalingV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAutoscalingV1Api(unittest.IsolatedAsyncioTestCase): """AutoscalingV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.autoscaling_v1_api.AutoscalingV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.autoscaling_v1_api.AutoscalingV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_autoscaling_v2_api.py b/kubernetes/aio/test/test_autoscaling_v2_api.py similarity index 89% rename from kubernetes_asyncio/test/test_autoscaling_v2_api.py rename to kubernetes/aio/test/test_autoscaling_v2_api.py index 9ae434e8db..45bd695564 100644 --- a/kubernetes_asyncio/test/test_autoscaling_v2_api.py +++ b/kubernetes/aio/test/test_autoscaling_v2_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.autoscaling_v2_api import AutoscalingV2Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.autoscaling_v2_api import AutoscalingV2Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestAutoscalingV2Api(unittest.IsolatedAsyncioTestCase): """AutoscalingV2Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.autoscaling_v2_api.AutoscalingV2Api() # noqa: E501 + self.api = kubernetes.aio.client.api.autoscaling_v2_api.AutoscalingV2Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_batch_api.py b/kubernetes/aio/test/test_batch_api.py similarity index 72% rename from kubernetes_asyncio/test/test_batch_api.py rename to kubernetes/aio/test/test_batch_api.py index 962240634d..ba22a1fa93 100644 --- a/kubernetes_asyncio/test/test_batch_api.py +++ b/kubernetes/aio/test/test_batch_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.batch_api import BatchApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.batch_api import BatchApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestBatchApi(unittest.IsolatedAsyncioTestCase): """BatchApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.batch_api.BatchApi() # noqa: E501 + self.api = kubernetes.aio.client.api.batch_api.BatchApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_batch_v1_api.py b/kubernetes/aio/test/test_batch_v1_api.py similarity index 93% rename from kubernetes_asyncio/test/test_batch_v1_api.py rename to kubernetes/aio/test/test_batch_v1_api.py index e348ba4fd7..0dfb1c0a5d 100644 --- a/kubernetes_asyncio/test/test_batch_v1_api.py +++ b/kubernetes/aio/test/test_batch_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.batch_v1_api import BatchV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.batch_v1_api import BatchV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestBatchV1Api(unittest.IsolatedAsyncioTestCase): """BatchV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.batch_v1_api.BatchV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.batch_v1_api.BatchV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_certificates_api.py b/kubernetes/aio/test/test_certificates_api.py similarity index 70% rename from kubernetes_asyncio/test/test_certificates_api.py rename to kubernetes/aio/test/test_certificates_api.py index ad94398465..d55f036f64 100644 --- a/kubernetes_asyncio/test/test_certificates_api.py +++ b/kubernetes/aio/test/test_certificates_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.certificates_api import CertificatesApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.certificates_api import CertificatesApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCertificatesApi(unittest.IsolatedAsyncioTestCase): """CertificatesApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.certificates_api.CertificatesApi() # noqa: E501 + self.api = kubernetes.aio.client.api.certificates_api.CertificatesApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_certificates_v1_api.py b/kubernetes/aio/test/test_certificates_v1_api.py similarity index 90% rename from kubernetes_asyncio/test/test_certificates_v1_api.py rename to kubernetes/aio/test/test_certificates_v1_api.py index 0f146aabc9..d351a26691 100644 --- a/kubernetes_asyncio/test/test_certificates_v1_api.py +++ b/kubernetes/aio/test/test_certificates_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.certificates_v1_api import CertificatesV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.certificates_v1_api import CertificatesV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCertificatesV1Api(unittest.IsolatedAsyncioTestCase): """CertificatesV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.certificates_v1_api.CertificatesV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.certificates_v1_api.CertificatesV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_certificates_v1alpha1_api.py b/kubernetes/aio/test/test_certificates_v1alpha1_api.py similarity index 83% rename from kubernetes_asyncio/test/test_certificates_v1alpha1_api.py rename to kubernetes/aio/test/test_certificates_v1alpha1_api.py index fd4c6fc774..f0c4f26e5f 100644 --- a/kubernetes_asyncio/test/test_certificates_v1alpha1_api.py +++ b/kubernetes/aio/test/test_certificates_v1alpha1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCertificatesV1alpha1Api(unittest.IsolatedAsyncioTestCase): """CertificatesV1alpha1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.certificates_v1alpha1_api.CertificatesV1alpha1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.certificates_v1alpha1_api.CertificatesV1alpha1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_certificates_v1beta1_api.py b/kubernetes/aio/test/test_certificates_v1beta1_api.py similarity index 91% rename from kubernetes_asyncio/test/test_certificates_v1beta1_api.py rename to kubernetes/aio/test/test_certificates_v1beta1_api.py index 9b8346d6d6..efb8ac2c76 100644 --- a/kubernetes_asyncio/test/test_certificates_v1beta1_api.py +++ b/kubernetes/aio/test/test_certificates_v1beta1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCertificatesV1beta1Api(unittest.IsolatedAsyncioTestCase): """CertificatesV1beta1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.certificates_v1beta1_api.CertificatesV1beta1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.certificates_v1beta1_api.CertificatesV1beta1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_coordination_api.py b/kubernetes/aio/test/test_coordination_api.py similarity index 70% rename from kubernetes_asyncio/test/test_coordination_api.py rename to kubernetes/aio/test/test_coordination_api.py index dc196d3da9..1e80ee0a0a 100644 --- a/kubernetes_asyncio/test/test_coordination_api.py +++ b/kubernetes/aio/test/test_coordination_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.coordination_api import CoordinationApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.coordination_api import CoordinationApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCoordinationApi(unittest.IsolatedAsyncioTestCase): """CoordinationApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.coordination_api.CoordinationApi() # noqa: E501 + self.api = kubernetes.aio.client.api.coordination_api.CoordinationApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_coordination_v1_api.py b/kubernetes/aio/test/test_coordination_v1_api.py similarity index 85% rename from kubernetes_asyncio/test/test_coordination_v1_api.py rename to kubernetes/aio/test/test_coordination_v1_api.py index 2c683d519e..793624ed10 100644 --- a/kubernetes_asyncio/test/test_coordination_v1_api.py +++ b/kubernetes/aio/test/test_coordination_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.coordination_v1_api import CoordinationV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.coordination_v1_api import CoordinationV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCoordinationV1Api(unittest.IsolatedAsyncioTestCase): """CoordinationV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.coordination_v1_api.CoordinationV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.coordination_v1_api.CoordinationV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_coordination_v1alpha2_api.py b/kubernetes/aio/test/test_coordination_v1alpha2_api.py similarity index 85% rename from kubernetes_asyncio/test/test_coordination_v1alpha2_api.py rename to kubernetes/aio/test/test_coordination_v1alpha2_api.py index 1322657a8b..ecadf06c18 100644 --- a/kubernetes_asyncio/test/test_coordination_v1alpha2_api.py +++ b/kubernetes/aio/test/test_coordination_v1alpha2_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCoordinationV1alpha2Api(unittest.IsolatedAsyncioTestCase): """CoordinationV1alpha2Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.coordination_v1alpha2_api.CoordinationV1alpha2Api() # noqa: E501 + self.api = kubernetes.aio.client.api.coordination_v1alpha2_api.CoordinationV1alpha2Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_coordination_v1beta1_api.py b/kubernetes/aio/test/test_coordination_v1beta1_api.py similarity index 85% rename from kubernetes_asyncio/test/test_coordination_v1beta1_api.py rename to kubernetes/aio/test/test_coordination_v1beta1_api.py index fa31ef7a6e..6b4fba2a82 100644 --- a/kubernetes_asyncio/test/test_coordination_v1beta1_api.py +++ b/kubernetes/aio/test/test_coordination_v1beta1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCoordinationV1beta1Api(unittest.IsolatedAsyncioTestCase): """CoordinationV1beta1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.coordination_v1beta1_api.CoordinationV1beta1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.coordination_v1beta1_api.CoordinationV1beta1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_core_api.py b/kubernetes/aio/test/test_core_api.py similarity index 72% rename from kubernetes_asyncio/test/test_core_api.py rename to kubernetes/aio/test/test_core_api.py index 253b7747b4..0e83af1453 100644 --- a/kubernetes_asyncio/test/test_core_api.py +++ b/kubernetes/aio/test/test_core_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.core_api import CoreApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.core_api import CoreApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCoreApi(unittest.IsolatedAsyncioTestCase): """CoreApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.core_api.CoreApi() # noqa: E501 + self.api = kubernetes.aio.client.api.core_api.CoreApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_core_v1_api.py b/kubernetes/aio/test/test_core_v1_api.py similarity index 99% rename from kubernetes_asyncio/test/test_core_v1_api.py rename to kubernetes/aio/test/test_core_v1_api.py index 79dbaeb6bb..a82ae41b32 100644 --- a/kubernetes_asyncio/test/test_core_v1_api.py +++ b/kubernetes/aio/test/test_core_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.core_v1_api import CoreV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.core_v1_api import CoreV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCoreV1Api(unittest.IsolatedAsyncioTestCase): """CoreV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.core_v1_api.CoreV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.core_v1_api.CoreV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_custom_objects_api.py b/kubernetes/aio/test/test_custom_objects_api.py similarity index 94% rename from kubernetes_asyncio/test/test_custom_objects_api.py rename to kubernetes/aio/test/test_custom_objects_api.py index 5b63cf51eb..e720bfe5cd 100644 --- a/kubernetes_asyncio/test/test_custom_objects_api.py +++ b/kubernetes/aio/test/test_custom_objects_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.custom_objects_api import CustomObjectsApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.custom_objects_api import CustomObjectsApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestCustomObjectsApi(unittest.IsolatedAsyncioTestCase): """CustomObjectsApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.custom_objects_api.CustomObjectsApi() # noqa: E501 + self.api = kubernetes.aio.client.api.custom_objects_api.CustomObjectsApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_discovery_api.py b/kubernetes/aio/test/test_discovery_api.py similarity index 71% rename from kubernetes_asyncio/test/test_discovery_api.py rename to kubernetes/aio/test/test_discovery_api.py index fd5a84c9af..f39d42376d 100644 --- a/kubernetes_asyncio/test/test_discovery_api.py +++ b/kubernetes/aio/test/test_discovery_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.discovery_api import DiscoveryApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.discovery_api import DiscoveryApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestDiscoveryApi(unittest.IsolatedAsyncioTestCase): """DiscoveryApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.discovery_api.DiscoveryApi() # noqa: E501 + self.api = kubernetes.aio.client.api.discovery_api.DiscoveryApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_discovery_v1_api.py b/kubernetes/aio/test/test_discovery_v1_api.py similarity index 86% rename from kubernetes_asyncio/test/test_discovery_v1_api.py rename to kubernetes/aio/test/test_discovery_v1_api.py index 79ab380a4a..15823100fd 100644 --- a/kubernetes_asyncio/test/test_discovery_v1_api.py +++ b/kubernetes/aio/test/test_discovery_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.discovery_v1_api import DiscoveryV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.discovery_v1_api import DiscoveryV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestDiscoveryV1Api(unittest.IsolatedAsyncioTestCase): """DiscoveryV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.discovery_v1_api.DiscoveryV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.discovery_v1_api.DiscoveryV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_events_api.py b/kubernetes/aio/test/test_events_api.py similarity index 71% rename from kubernetes_asyncio/test/test_events_api.py rename to kubernetes/aio/test/test_events_api.py index 771a64adb5..95ada2f1e8 100644 --- a/kubernetes_asyncio/test/test_events_api.py +++ b/kubernetes/aio/test/test_events_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.events_api import EventsApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.events_api import EventsApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestEventsApi(unittest.IsolatedAsyncioTestCase): """EventsApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.events_api.EventsApi() # noqa: E501 + self.api = kubernetes.aio.client.api.events_api.EventsApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_events_v1_api.py b/kubernetes/aio/test/test_events_v1_api.py similarity index 86% rename from kubernetes_asyncio/test/test_events_v1_api.py rename to kubernetes/aio/test/test_events_v1_api.py index 95abc035d8..3035043575 100644 --- a/kubernetes_asyncio/test/test_events_v1_api.py +++ b/kubernetes/aio/test/test_events_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.events_v1_api import EventsV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.events_v1_api import EventsV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestEventsV1Api(unittest.IsolatedAsyncioTestCase): """EventsV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.events_v1_api.EventsV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.events_v1_api.EventsV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_flowcontrol_apiserver_api.py b/kubernetes/aio/test/test_flowcontrol_apiserver_api.py similarity index 68% rename from kubernetes_asyncio/test/test_flowcontrol_apiserver_api.py rename to kubernetes/aio/test/test_flowcontrol_apiserver_api.py index 2c71a37f94..f67135f712 100644 --- a/kubernetes_asyncio/test/test_flowcontrol_apiserver_api.py +++ b/kubernetes/aio/test/test_flowcontrol_apiserver_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestFlowcontrolApiserverApi(unittest.IsolatedAsyncioTestCase): """FlowcontrolApiserverApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.flowcontrol_apiserver_api.FlowcontrolApiserverApi() # noqa: E501 + self.api = kubernetes.aio.client.api.flowcontrol_apiserver_api.FlowcontrolApiserverApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_flowcontrol_apiserver_v1_api.py b/kubernetes/aio/test/test_flowcontrol_apiserver_v1_api.py similarity index 91% rename from kubernetes_asyncio/test/test_flowcontrol_apiserver_v1_api.py rename to kubernetes/aio/test/test_flowcontrol_apiserver_v1_api.py index 1f2a085cdd..eadd8ba9ee 100644 --- a/kubernetes_asyncio/test/test_flowcontrol_apiserver_v1_api.py +++ b/kubernetes/aio/test/test_flowcontrol_apiserver_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.flowcontrol_apiserver_v1_api import FlowcontrolApiserverV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.flowcontrol_apiserver_v1_api import FlowcontrolApiserverV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestFlowcontrolApiserverV1Api(unittest.IsolatedAsyncioTestCase): """FlowcontrolApiserverV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.flowcontrol_apiserver_v1_api.FlowcontrolApiserverV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.flowcontrol_apiserver_v1_api.FlowcontrolApiserverV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_internal_apiserver_api.py b/kubernetes/aio/test/test_internal_apiserver_api.py similarity index 69% rename from kubernetes_asyncio/test/test_internal_apiserver_api.py rename to kubernetes/aio/test/test_internal_apiserver_api.py index 2fdd695151..aa5323d3db 100644 --- a/kubernetes_asyncio/test/test_internal_apiserver_api.py +++ b/kubernetes/aio/test/test_internal_apiserver_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.internal_apiserver_api import InternalApiserverApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.internal_apiserver_api import InternalApiserverApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestInternalApiserverApi(unittest.IsolatedAsyncioTestCase): """InternalApiserverApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.internal_apiserver_api.InternalApiserverApi() # noqa: E501 + self.api = kubernetes.aio.client.api.internal_apiserver_api.InternalApiserverApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_internal_apiserver_v1alpha1_api.py b/kubernetes/aio/test/test_internal_apiserver_v1alpha1_api.py similarity index 85% rename from kubernetes_asyncio/test/test_internal_apiserver_v1alpha1_api.py rename to kubernetes/aio/test/test_internal_apiserver_v1alpha1_api.py index abdd4da471..dfdd90c83e 100644 --- a/kubernetes_asyncio/test/test_internal_apiserver_v1alpha1_api.py +++ b/kubernetes/aio/test/test_internal_apiserver_v1alpha1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.internal_apiserver_v1alpha1_api import InternalApiserverV1alpha1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.internal_apiserver_v1alpha1_api import InternalApiserverV1alpha1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestInternalApiserverV1alpha1Api(unittest.IsolatedAsyncioTestCase): """InternalApiserverV1alpha1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.internal_apiserver_v1alpha1_api.InternalApiserverV1alpha1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.internal_apiserver_v1alpha1_api.InternalApiserverV1alpha1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_logs_api.py b/kubernetes/aio/test/test_logs_api.py similarity index 75% rename from kubernetes_asyncio/test/test_logs_api.py rename to kubernetes/aio/test/test_logs_api.py index 13503e2c57..805b103919 100644 --- a/kubernetes_asyncio/test/test_logs_api.py +++ b/kubernetes/aio/test/test_logs_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.logs_api import LogsApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.logs_api import LogsApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestLogsApi(unittest.IsolatedAsyncioTestCase): """LogsApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.logs_api.LogsApi() # noqa: E501 + self.api = kubernetes.aio.client.api.logs_api.LogsApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_networking_api.py b/kubernetes/aio/test/test_networking_api.py similarity index 70% rename from kubernetes_asyncio/test/test_networking_api.py rename to kubernetes/aio/test/test_networking_api.py index 6d39b46827..25170c0382 100644 --- a/kubernetes_asyncio/test/test_networking_api.py +++ b/kubernetes/aio/test/test_networking_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.networking_api import NetworkingApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.networking_api import NetworkingApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestNetworkingApi(unittest.IsolatedAsyncioTestCase): """NetworkingApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.networking_api.NetworkingApi() # noqa: E501 + self.api = kubernetes.aio.client.api.networking_api.NetworkingApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_networking_v1_api.py b/kubernetes/aio/test/test_networking_v1_api.py similarity index 95% rename from kubernetes_asyncio/test/test_networking_v1_api.py rename to kubernetes/aio/test/test_networking_v1_api.py index c8605ed0bb..617c380c48 100644 --- a/kubernetes_asyncio/test/test_networking_v1_api.py +++ b/kubernetes/aio/test/test_networking_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.networking_v1_api import NetworkingV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.networking_v1_api import NetworkingV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestNetworkingV1Api(unittest.IsolatedAsyncioTestCase): """NetworkingV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.networking_v1_api.NetworkingV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.networking_v1_api.NetworkingV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_networking_v1beta1_api.py b/kubernetes/aio/test/test_networking_v1beta1_api.py similarity index 89% rename from kubernetes_asyncio/test/test_networking_v1beta1_api.py rename to kubernetes/aio/test/test_networking_v1beta1_api.py index 23c1ec9368..bdbdaa933d 100644 --- a/kubernetes_asyncio/test/test_networking_v1beta1_api.py +++ b/kubernetes/aio/test/test_networking_v1beta1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.networking_v1beta1_api import NetworkingV1beta1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.networking_v1beta1_api import NetworkingV1beta1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestNetworkingV1beta1Api(unittest.IsolatedAsyncioTestCase): """NetworkingV1beta1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.networking_v1beta1_api.NetworkingV1beta1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.networking_v1beta1_api.NetworkingV1beta1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_node_api.py b/kubernetes/aio/test/test_node_api.py similarity index 72% rename from kubernetes_asyncio/test/test_node_api.py rename to kubernetes/aio/test/test_node_api.py index 3a56299f0e..c5f3279eeb 100644 --- a/kubernetes_asyncio/test/test_node_api.py +++ b/kubernetes/aio/test/test_node_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.node_api import NodeApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.node_api import NodeApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestNodeApi(unittest.IsolatedAsyncioTestCase): """NodeApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.node_api.NodeApi() # noqa: E501 + self.api = kubernetes.aio.client.api.node_api.NodeApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_node_v1_api.py b/kubernetes/aio/test/test_node_v1_api.py similarity index 85% rename from kubernetes_asyncio/test/test_node_v1_api.py rename to kubernetes/aio/test/test_node_v1_api.py index 40ebbb1a74..43ccd2109e 100644 --- a/kubernetes_asyncio/test/test_node_v1_api.py +++ b/kubernetes/aio/test/test_node_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.node_v1_api import NodeV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.node_v1_api import NodeV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestNodeV1Api(unittest.IsolatedAsyncioTestCase): """NodeV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.node_v1_api.NodeV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.node_v1_api.NodeV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_openid_api.py b/kubernetes/aio/test/test_openid_api.py similarity index 73% rename from kubernetes_asyncio/test/test_openid_api.py rename to kubernetes/aio/test/test_openid_api.py index 28bc2c3234..c313750117 100644 --- a/kubernetes_asyncio/test/test_openid_api.py +++ b/kubernetes/aio/test/test_openid_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.openid_api import OpenidApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.openid_api import OpenidApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestOpenidApi(unittest.IsolatedAsyncioTestCase): """OpenidApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.openid_api.OpenidApi() # noqa: E501 + self.api = kubernetes.aio.client.api.openid_api.OpenidApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_policy_api.py b/kubernetes/aio/test/test_policy_api.py similarity index 71% rename from kubernetes_asyncio/test/test_policy_api.py rename to kubernetes/aio/test/test_policy_api.py index 80b4546345..12104fdadb 100644 --- a/kubernetes_asyncio/test/test_policy_api.py +++ b/kubernetes/aio/test/test_policy_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.policy_api import PolicyApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.policy_api import PolicyApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestPolicyApi(unittest.IsolatedAsyncioTestCase): """PolicyApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.policy_api.PolicyApi() # noqa: E501 + self.api = kubernetes.aio.client.api.policy_api.PolicyApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_policy_v1_api.py b/kubernetes/aio/test/test_policy_v1_api.py similarity index 90% rename from kubernetes_asyncio/test/test_policy_v1_api.py rename to kubernetes/aio/test/test_policy_v1_api.py index c8f77606fd..6899d63eb4 100644 --- a/kubernetes_asyncio/test/test_policy_v1_api.py +++ b/kubernetes/aio/test/test_policy_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.policy_v1_api import PolicyV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.policy_v1_api import PolicyV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestPolicyV1Api(unittest.IsolatedAsyncioTestCase): """PolicyV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.policy_v1_api.PolicyV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.policy_v1_api.PolicyV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_rbac_authorization_api.py b/kubernetes/aio/test/test_rbac_authorization_api.py similarity index 69% rename from kubernetes_asyncio/test/test_rbac_authorization_api.py rename to kubernetes/aio/test/test_rbac_authorization_api.py index e7bd0748d4..20c10da42c 100644 --- a/kubernetes_asyncio/test/test_rbac_authorization_api.py +++ b/kubernetes/aio/test/test_rbac_authorization_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.rbac_authorization_api import RbacAuthorizationApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.rbac_authorization_api import RbacAuthorizationApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestRbacAuthorizationApi(unittest.IsolatedAsyncioTestCase): """RbacAuthorizationApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.rbac_authorization_api.RbacAuthorizationApi() # noqa: E501 + self.api = kubernetes.aio.client.api.rbac_authorization_api.RbacAuthorizationApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_rbac_authorization_v1_api.py b/kubernetes/aio/test/test_rbac_authorization_v1_api.py similarity index 93% rename from kubernetes_asyncio/test/test_rbac_authorization_v1_api.py rename to kubernetes/aio/test/test_rbac_authorization_v1_api.py index 0088458040..9d1e7758b0 100644 --- a/kubernetes_asyncio/test/test_rbac_authorization_v1_api.py +++ b/kubernetes/aio/test/test_rbac_authorization_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestRbacAuthorizationV1Api(unittest.IsolatedAsyncioTestCase): """RbacAuthorizationV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.rbac_authorization_v1_api.RbacAuthorizationV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.rbac_authorization_v1_api.RbacAuthorizationV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_resource_api.py b/kubernetes/aio/test/test_resource_api.py similarity index 71% rename from kubernetes_asyncio/test/test_resource_api.py rename to kubernetes/aio/test/test_resource_api.py index 49dc93475d..e9d9fe4af8 100644 --- a/kubernetes_asyncio/test/test_resource_api.py +++ b/kubernetes/aio/test/test_resource_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.resource_api import ResourceApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.resource_api import ResourceApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestResourceApi(unittest.IsolatedAsyncioTestCase): """ResourceApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.resource_api.ResourceApi() # noqa: E501 + self.api = kubernetes.aio.client.api.resource_api.ResourceApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_resource_v1_api.py b/kubernetes/aio/test/test_resource_v1_api.py similarity index 95% rename from kubernetes_asyncio/test/test_resource_v1_api.py rename to kubernetes/aio/test/test_resource_v1_api.py index 50495b0f08..ecd2610ea4 100644 --- a/kubernetes_asyncio/test/test_resource_v1_api.py +++ b/kubernetes/aio/test/test_resource_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.resource_v1_api import ResourceV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.resource_v1_api import ResourceV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestResourceV1Api(unittest.IsolatedAsyncioTestCase): """ResourceV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.resource_v1_api.ResourceV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.resource_v1_api.ResourceV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_resource_v1alpha3_api.py b/kubernetes/aio/test/test_resource_v1alpha3_api.py similarity index 92% rename from kubernetes_asyncio/test/test_resource_v1alpha3_api.py rename to kubernetes/aio/test/test_resource_v1alpha3_api.py index 1894dffa4f..8594e412d8 100644 --- a/kubernetes_asyncio/test/test_resource_v1alpha3_api.py +++ b/kubernetes/aio/test/test_resource_v1alpha3_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestResourceV1alpha3Api(unittest.IsolatedAsyncioTestCase): """ResourceV1alpha3Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.resource_v1alpha3_api.ResourceV1alpha3Api() # noqa: E501 + self.api = kubernetes.aio.client.api.resource_v1alpha3_api.ResourceV1alpha3Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_resource_v1beta1_api.py b/kubernetes/aio/test/test_resource_v1beta1_api.py similarity index 94% rename from kubernetes_asyncio/test/test_resource_v1beta1_api.py rename to kubernetes/aio/test/test_resource_v1beta1_api.py index ceae4d2a43..4c8b8cdaab 100644 --- a/kubernetes_asyncio/test/test_resource_v1beta1_api.py +++ b/kubernetes/aio/test/test_resource_v1beta1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.resource_v1beta1_api import ResourceV1beta1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.resource_v1beta1_api import ResourceV1beta1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestResourceV1beta1Api(unittest.IsolatedAsyncioTestCase): """ResourceV1beta1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.resource_v1beta1_api.ResourceV1beta1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.resource_v1beta1_api.ResourceV1beta1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_resource_v1beta2_api.py b/kubernetes/aio/test/test_resource_v1beta2_api.py similarity index 95% rename from kubernetes_asyncio/test/test_resource_v1beta2_api.py rename to kubernetes/aio/test/test_resource_v1beta2_api.py index 6b07adb87b..628905ca9b 100644 --- a/kubernetes_asyncio/test/test_resource_v1beta2_api.py +++ b/kubernetes/aio/test/test_resource_v1beta2_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.resource_v1beta2_api import ResourceV1beta2Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.resource_v1beta2_api import ResourceV1beta2Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestResourceV1beta2Api(unittest.IsolatedAsyncioTestCase): """ResourceV1beta2Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.resource_v1beta2_api.ResourceV1beta2Api() # noqa: E501 + self.api = kubernetes.aio.client.api.resource_v1beta2_api.ResourceV1beta2Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_scheduling_api.py b/kubernetes/aio/test/test_scheduling_api.py similarity index 70% rename from kubernetes_asyncio/test/test_scheduling_api.py rename to kubernetes/aio/test/test_scheduling_api.py index 75d46df2ee..7d305fcb5d 100644 --- a/kubernetes_asyncio/test/test_scheduling_api.py +++ b/kubernetes/aio/test/test_scheduling_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.scheduling_api import SchedulingApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.scheduling_api import SchedulingApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestSchedulingApi(unittest.IsolatedAsyncioTestCase): """SchedulingApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.scheduling_api.SchedulingApi() # noqa: E501 + self.api = kubernetes.aio.client.api.scheduling_api.SchedulingApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_scheduling_v1_api.py b/kubernetes/aio/test/test_scheduling_v1_api.py similarity index 84% rename from kubernetes_asyncio/test/test_scheduling_v1_api.py rename to kubernetes/aio/test/test_scheduling_v1_api.py index 972a0c6703..7901e90056 100644 --- a/kubernetes_asyncio/test/test_scheduling_v1_api.py +++ b/kubernetes/aio/test/test_scheduling_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.scheduling_v1_api import SchedulingV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.scheduling_v1_api import SchedulingV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestSchedulingV1Api(unittest.IsolatedAsyncioTestCase): """SchedulingV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.scheduling_v1_api.SchedulingV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.scheduling_v1_api.SchedulingV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_scheduling_v1alpha2_api.py b/kubernetes/aio/test/test_scheduling_v1alpha2_api.py similarity index 91% rename from kubernetes_asyncio/test/test_scheduling_v1alpha2_api.py rename to kubernetes/aio/test/test_scheduling_v1alpha2_api.py index 35255a88e4..b2d53d5577 100644 --- a/kubernetes_asyncio/test/test_scheduling_v1alpha2_api.py +++ b/kubernetes/aio/test/test_scheduling_v1alpha2_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.scheduling_v1alpha2_api import SchedulingV1alpha2Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.scheduling_v1alpha2_api import SchedulingV1alpha2Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestSchedulingV1alpha2Api(unittest.IsolatedAsyncioTestCase): """SchedulingV1alpha2Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.scheduling_v1alpha2_api.SchedulingV1alpha2Api() # noqa: E501 + self.api = kubernetes.aio.client.api.scheduling_v1alpha2_api.SchedulingV1alpha2Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_storage_api.py b/kubernetes/aio/test/test_storage_api.py similarity index 71% rename from kubernetes_asyncio/test/test_storage_api.py rename to kubernetes/aio/test/test_storage_api.py index c2a4dc22ca..2874044497 100644 --- a/kubernetes_asyncio/test/test_storage_api.py +++ b/kubernetes/aio/test/test_storage_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.storage_api import StorageApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.storage_api import StorageApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestStorageApi(unittest.IsolatedAsyncioTestCase): """StorageApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.storage_api.StorageApi() # noqa: E501 + self.api = kubernetes.aio.client.api.storage_api.StorageApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_storage_v1_api.py b/kubernetes/aio/test/test_storage_v1_api.py similarity index 96% rename from kubernetes_asyncio/test/test_storage_v1_api.py rename to kubernetes/aio/test/test_storage_v1_api.py index 742e1a8cdb..28121059f9 100644 --- a/kubernetes_asyncio/test/test_storage_v1_api.py +++ b/kubernetes/aio/test/test_storage_v1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.storage_v1_api import StorageV1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.storage_v1_api import StorageV1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestStorageV1Api(unittest.IsolatedAsyncioTestCase): """StorageV1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.storage_v1_api.StorageV1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.storage_v1_api.StorageV1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_storage_v1beta1_api.py b/kubernetes/aio/test/test_storage_v1beta1_api.py similarity index 84% rename from kubernetes_asyncio/test/test_storage_v1beta1_api.py rename to kubernetes/aio/test/test_storage_v1beta1_api.py index 23f1f1b6d3..c3bf394405 100644 --- a/kubernetes_asyncio/test/test_storage_v1beta1_api.py +++ b/kubernetes/aio/test/test_storage_v1beta1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.storage_v1beta1_api import StorageV1beta1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.storage_v1beta1_api import StorageV1beta1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestStorageV1beta1Api(unittest.IsolatedAsyncioTestCase): """StorageV1beta1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.storage_v1beta1_api.StorageV1beta1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.storage_v1beta1_api.StorageV1beta1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_storagemigration_api.py b/kubernetes/aio/test/test_storagemigration_api.py similarity index 69% rename from kubernetes_asyncio/test/test_storagemigration_api.py rename to kubernetes/aio/test/test_storagemigration_api.py index 2546463882..97a2c52446 100644 --- a/kubernetes_asyncio/test/test_storagemigration_api.py +++ b/kubernetes/aio/test/test_storagemigration_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.storagemigration_api import StoragemigrationApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.storagemigration_api import StoragemigrationApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestStoragemigrationApi(unittest.IsolatedAsyncioTestCase): """StoragemigrationApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.storagemigration_api.StoragemigrationApi() # noqa: E501 + self.api = kubernetes.aio.client.api.storagemigration_api.StoragemigrationApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_storagemigration_v1beta1_api.py b/kubernetes/aio/test/test_storagemigration_v1beta1_api.py similarity index 86% rename from kubernetes_asyncio/test/test_storagemigration_v1beta1_api.py rename to kubernetes/aio/test/test_storagemigration_v1beta1_api.py index 78772ba68e..30f7bffde6 100644 --- a/kubernetes_asyncio/test/test_storagemigration_v1beta1_api.py +++ b/kubernetes/aio/test/test_storagemigration_v1beta1_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestStoragemigrationV1beta1Api(unittest.IsolatedAsyncioTestCase): """StoragemigrationV1beta1Api unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.storagemigration_v1beta1_api.StoragemigrationV1beta1Api() # noqa: E501 + self.api = kubernetes.aio.client.api.storagemigration_v1beta1_api.StoragemigrationV1beta1Api() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_version_api.py b/kubernetes/aio/test/test_version_api.py similarity index 71% rename from kubernetes_asyncio/test/test_version_api.py rename to kubernetes/aio/test/test_version_api.py index 2c040e923a..3a8d9255af 100644 --- a/kubernetes_asyncio/test/test_version_api.py +++ b/kubernetes/aio/test/test_version_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.version_api import VersionApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.version_api import VersionApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestVersionApi(unittest.IsolatedAsyncioTestCase): """VersionApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.version_api.VersionApi() # noqa: E501 + self.api = kubernetes.aio.client.api.version_api.VersionApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/test/test_well_known_api.py b/kubernetes/aio/test/test_well_known_api.py similarity index 72% rename from kubernetes_asyncio/test/test_well_known_api.py rename to kubernetes/aio/test/test_well_known_api.py index a584ea6ef1..7d27d11145 100644 --- a/kubernetes_asyncio/test/test_well_known_api.py +++ b/kubernetes/aio/test/test_well_known_api.py @@ -14,16 +14,16 @@ import unittest -import kubernetes_asyncio.client -from kubernetes_asyncio.client.api.well_known_api import WellKnownApi # noqa: E501 -from kubernetes_asyncio.client.rest import ApiException +import kubernetes.aio.client +from kubernetes.aio.client.api.well_known_api import WellKnownApi # noqa: E501 +from kubernetes.aio.client.rest import ApiException class TestWellKnownApi(unittest.IsolatedAsyncioTestCase): """WellKnownApi unit test stubs""" async def asyncSetUp(self): - self.api = kubernetes_asyncio.client.api.well_known_api.WellKnownApi() # noqa: E501 + self.api = kubernetes.aio.client.api.well_known_api.WellKnownApi() # noqa: E501 def tearDown(self): pass diff --git a/kubernetes_asyncio/tox.ini b/kubernetes/aio/tox.ini similarity index 100% rename from kubernetes_asyncio/tox.ini rename to kubernetes/aio/tox.ini diff --git a/kubernetes_asyncio/utils/__init__.py b/kubernetes/aio/utils/__init__.py similarity index 100% rename from kubernetes_asyncio/utils/__init__.py rename to kubernetes/aio/utils/__init__.py diff --git a/kubernetes_asyncio/utils/create_from_yaml.py b/kubernetes/aio/utils/create_from_yaml.py similarity index 99% rename from kubernetes_asyncio/utils/create_from_yaml.py rename to kubernetes/aio/utils/create_from_yaml.py index 064312412c..b59d091f68 100644 --- a/kubernetes_asyncio/utils/create_from_yaml.py +++ b/kubernetes/aio/utils/create_from_yaml.py @@ -18,7 +18,7 @@ import yaml -from kubernetes_asyncio import client +from kubernetes.aio import client async def create_from_yaml( diff --git a/kubernetes_asyncio/utils/create_from_yaml_test.py b/kubernetes/aio/utils/create_from_yaml_test.py similarity index 94% rename from kubernetes_asyncio/utils/create_from_yaml_test.py rename to kubernetes/aio/utils/create_from_yaml_test.py index 86e78d58f4..74b4cd2629 100644 --- a/kubernetes_asyncio/utils/create_from_yaml_test.py +++ b/kubernetes/aio/utils/create_from_yaml_test.py @@ -15,7 +15,7 @@ from unittest import IsolatedAsyncioTestCase from unittest.mock import AsyncMock -from kubernetes_asyncio.utils import create_from_dict, create_from_yaml +from kubernetes.aio.utils import create_from_dict, create_from_yaml class CreateFromYamlTest(IsolatedAsyncioTestCase): @@ -25,7 +25,7 @@ async def test_create_from_yaml(self): api_client.call_api = AsyncMock() api_client.call_api.return_value = 'mock-value' - created = await create_from_yaml(api_client, 'kubernetes_asyncio/utils/nginx-deployment.yaml') + created = await create_from_yaml(api_client, 'kubernetes/aio/utils/nginx-deployment.yaml') # simple check for api call self.assertEqual(api_client.call_api.call_args[0][0], diff --git a/kubernetes_asyncio/utils/nginx-deployment.yaml b/kubernetes/aio/utils/nginx-deployment.yaml similarity index 100% rename from kubernetes_asyncio/utils/nginx-deployment.yaml rename to kubernetes/aio/utils/nginx-deployment.yaml diff --git a/kubernetes/base/config/exec_provider.py b/kubernetes/base/config/exec_provider.py index 95168f7f6e..84d498e50f 100644 --- a/kubernetes/base/config/exec_provider.py +++ b/kubernetes/base/config/exec_provider.py @@ -19,7 +19,7 @@ from .config_exception import ConfigException -class ExecProvider(object): +class ExecProvider: """ Implementation of the proposal for out-of-tree client authentication providers as described here -- diff --git a/kubernetes/base/config/incluster_config.py b/kubernetes/base/config/incluster_config.py index 86070df43b..62b52970fb 100644 --- a/kubernetes/base/config/incluster_config.py +++ b/kubernetes/base/config/incluster_config.py @@ -34,7 +34,7 @@ def _join_host_port(host, port): return template % (host, port) -class InClusterConfigLoader(object): +class InClusterConfigLoader: def __init__(self, token_filename, cert_filename, @@ -88,7 +88,7 @@ def _set_config(self, client_configuration): client_configuration.host = self.host client_configuration.ssl_ca_cert = self.ssl_ca_cert if self.token is not None: - client_configuration.api_key['authorization'] = self.token + client_configuration.api_key['BearerToken'] = self.token if not self._try_refresh_token: return diff --git a/kubernetes/base/config/incluster_config_test.py b/kubernetes/base/config/incluster_config_test.py index 856752be1e..14286d66ce 100644 --- a/kubernetes/base/config/incluster_config_test.py +++ b/kubernetes/base/config/incluster_config_test.py @@ -91,7 +91,7 @@ def test_refresh_token(self): loader.load_and_set(config) self.assertEqual('bearer ' + _TEST_TOKEN, - config.get_api_key_with_prefix('authorization')) + config.get_api_key_with_prefix('BearerToken')) self.assertEqual('bearer ' + _TEST_TOKEN, loader.token) self.assertIsNotNone(loader.token_expires_at) @@ -100,14 +100,31 @@ def test_refresh_token(self): loader._token_filename = self._create_file_with_temp_content( _TEST_NEW_TOKEN) self.assertEqual('bearer ' + _TEST_TOKEN, - config.get_api_key_with_prefix('authorization')) + config.get_api_key_with_prefix('BearerToken')) loader.token_expires_at = datetime.datetime.now() self.assertEqual('bearer ' + _TEST_NEW_TOKEN, - config.get_api_key_with_prefix('authorization')) + config.get_api_key_with_prefix('BearerToken')) self.assertEqual('bearer ' + _TEST_NEW_TOKEN, loader.token) self.assertGreater(loader.token_expires_at, old_token_expires_at) + def test_load_incluster_sets_request_authorization_header(self): + from kubernetes.client import ApiClient + cert_filename = self._create_file_with_temp_content(_TEST_CERT) + loader = self.get_test_loader(cert_filename=cert_filename) + config = Configuration() + loader.load_and_set(config) + + api_client = ApiClient(config) + headers = {} + api_client.update_params_for_auth(headers, [], ['BearerToken']) + + self.assertIn('authorization', headers) + self.assertTrue( + headers['authorization'].lower().startswith('bearer '), + "Expected a Bearer authorization header, got: %r" + % headers['authorization']) + def _should_fail_load(self, config_loader, reason): try: config_loader.load_and_set() diff --git a/kubernetes/base/config/kube_config.py b/kubernetes/base/config/kube_config.py index fc88f7f1fa..13f4ba226c 100644 --- a/kubernetes/base/config/kube_config.py +++ b/kubernetes/base/config/kube_config.py @@ -22,14 +22,12 @@ import platform import subprocess import tempfile -import time from collections import namedtuple import oauthlib.oauth2 import urllib3 import yaml from requests_oauthlib import OAuth2Session -from six import PY3 from kubernetes.client import ApiClient, Configuration from kubernetes.config.exec_provider import ExecProvider @@ -85,7 +83,7 @@ def _is_expired(expiry): datetime.datetime.now(tz=UTC)) -class FileOrData(object): +class FileOrData: """Utility class to read content of obj[%data_key_name] or file's content of obj[%file_key_name] and represent it as file or data. Note that the data is preferred. The obj[%file_key_name] will be used iff @@ -151,7 +149,7 @@ def _write_file(self, force_rewrite=False): self._data, self._temp_file_path, force_recreate=force_rewrite) -class CommandTokenSource(object): +class CommandTokenSource: def __init__(self, cmd, args, tokenKey, expiryKey): self._cmd = cmd self._args = args @@ -191,7 +189,7 @@ def token(self): expiry=parse_rfc3339(data['credential']['token_expiry'])) -class KubeConfigLoader(object): +class KubeConfigLoader: def __init__(self, config_dict, active_context=None, get_google_credentials=None, @@ -363,14 +361,9 @@ def _load_oid_token(self, provider): # https://tools.ietf.org/html/rfc7515#appendix-C return - if PY3: - jwt_attributes = json.loads( - base64.urlsafe_b64decode(parts[1] + padding).decode('utf-8') - ) - else: - jwt_attributes = json.loads( - base64.b64decode(parts[1] + padding) - ) + jwt_attributes = json.loads( + base64.urlsafe_b64decode(parts[1] + padding).decode('utf-8') + ) expire = jwt_attributes.get('exp') @@ -392,14 +385,9 @@ def _refresh_oidc(self, provider): if 'idp-certificate-authority-data' in provider['config']: ca_cert = tempfile.NamedTemporaryFile(delete=True) - if PY3: - cert = base64.b64decode( - provider['config']['idp-certificate-authority-data'] - ).decode('utf-8') - else: - cert = base64.b64decode( - provider['config']['idp-certificate-authority-data'] + "==" - ) + cert = base64.b64decode( + provider['config']['idp-certificate-authority-data'] + ).decode('utf-8') with open(ca_cert.name, 'w') as fh: fh.write(cert) @@ -539,7 +527,7 @@ def _load_cluster_info(self): def _set_config(self, client_configuration): if 'token' in self.__dict__: - client_configuration.api_key['authorization'] = self.token + client_configuration.api_key['BearerToken'] = self.token def _refresh_api_key(client_configuration): if ('expiry' in self.__dict__ and _is_expired(self.expiry)): @@ -565,7 +553,7 @@ def current_context(self): return self._current_context.value -class ConfigNode(object): +class ConfigNode: """Remembers each config key's path and construct a relevant exception message in case of missing keys. The assumption is all access keys are present in a well-formed kube-config.""" diff --git a/kubernetes/base/config/kube_config_test.py b/kubernetes/base/config/kube_config_test.py index b8063009eb..0a594b1ef2 100644 --- a/kubernetes/base/config/kube_config_test.py +++ b/kubernetes/base/config/kube_config_test.py @@ -25,7 +25,6 @@ from unittest import mock import yaml -from six import PY3, next from kubernetes.client import Configuration @@ -300,7 +299,7 @@ class TestConfigNode(BaseTestCase): ]} def setUp(self): - super(TestConfigNode, self).setUp() + super().setUp() self.node = ConfigNode("test_obj", self.test_obj) def test_normal_map_array_operations(self): @@ -370,7 +369,7 @@ def __init__(self, token=None, **kwargs): # Provided by the OpenAPI-generated Configuration class self.refresh_api_key_hook = None if token: - self.api_key['authorization'] = token + self.api_key['BearerToken'] = token self.__dict__.update(kwargs) @@ -906,7 +905,7 @@ def test_gcp_no_refresh(self): self.assertIsNotNone(fake_config.refresh_api_key_hook) self.assertEqual(TEST_HOST, fake_config.host) self.assertEqual(BEARER_TOKEN_FORMAT % TEST_DATA_BASE64, - fake_config.api_key['authorization']) + fake_config.api_key['BearerToken']) def test_load_gcp_token_no_refresh(self): loader = KubeConfigLoader( @@ -1274,12 +1273,8 @@ def test_list_kube_config_contexts(self): config_file=config_file) self.assertDictEqual(self.TEST_KUBE_CONFIG['contexts'][0], active_context) - if PY3: - self.assertCountEqual(self.TEST_KUBE_CONFIG['contexts'], - contexts) - else: - self.assertItemsEqual(self.TEST_KUBE_CONFIG['contexts'], - contexts) + self.assertCountEqual(self.TEST_KUBE_CONFIG['contexts'], + contexts) def test_new_client_from_config(self): config_file = self._create_temp_file( @@ -1288,14 +1283,14 @@ def test_new_client_from_config(self): config_file=config_file, context="simple_token") self.assertEqual(TEST_HOST, client.configuration.host) self.assertEqual(BEARER_TOKEN_FORMAT % TEST_DATA_BASE64, - client.configuration.api_key['authorization']) + client.configuration.api_key['BearerToken']) def test_new_client_from_config_dict(self): client = new_client_from_config_dict( config_dict=self.TEST_KUBE_CONFIG, context="simple_token") self.assertEqual(TEST_HOST, client.configuration.host) self.assertEqual(BEARER_TOKEN_FORMAT % TEST_DATA_BASE64, - client.configuration.api_key['authorization']) + client.configuration.api_key['BearerToken']) def test_no_users_section(self): expected = FakeConfig(host=TEST_HOST) @@ -1322,7 +1317,7 @@ def test_user_exec_auth(self, mock): "token": token } expected = FakeConfig(host=TEST_HOST, api_key={ - "authorization": BEARER_TOKEN_FORMAT % token}) + "BearerToken": BEARER_TOKEN_FORMAT % token}) actual = FakeConfig() KubeConfigLoader( config_dict=self.TEST_KUBE_CONFIG, @@ -1352,13 +1347,13 @@ def test_user_exec_auth_with_expiry(self, mock): active_context="exec_cred_user").load_and_set(fake_config) # The kube config should use the first token returned from the # exec provider. - self.assertEqual(fake_config.api_key["authorization"], + self.assertEqual(fake_config.api_key["BearerToken"], BEARER_TOKEN_FORMAT % expired_token) # Should now be populated with a method to refresh expired tokens. self.assertIsNotNone(fake_config.refresh_api_key_hook) # Refresh the token; the kube config should be updated. fake_config.refresh_api_key_hook(fake_config) - self.assertEqual(fake_config.api_key["authorization"], + self.assertEqual(fake_config.api_key["BearerToken"], BEARER_TOKEN_FORMAT % current_token) @mock.patch('kubernetes.config.kube_config.ExecProvider.run') @@ -1400,7 +1395,7 @@ def test_user_cmd_path(self): return_value = A(token, parse_rfc3339(datetime.datetime.now())) CommandTokenSource.token = mock.Mock(return_value=return_value) expected = FakeConfig(api_key={ - "authorization": BEARER_TOKEN_FORMAT % token}) + "BearerToken": BEARER_TOKEN_FORMAT % token}) actual = FakeConfig() KubeConfigLoader( config_dict=self.TEST_KUBE_CONFIG, @@ -1413,7 +1408,7 @@ def test_user_cmd_path_empty(self): return_value = A(token, parse_rfc3339(datetime.datetime.now())) CommandTokenSource.token = mock.Mock(return_value=return_value) expected = FakeConfig(api_key={ - "authorization": BEARER_TOKEN_FORMAT % token}) + "BearerToken": BEARER_TOKEN_FORMAT % token}) actual = FakeConfig() self.expect_exception(lambda: KubeConfigLoader( config_dict=self.TEST_KUBE_CONFIG, @@ -1427,7 +1422,7 @@ def test_user_cmd_path_with_scope(self): return_value = A(token, parse_rfc3339(datetime.datetime.now())) CommandTokenSource.token = mock.Mock(return_value=return_value) expected = FakeConfig(api_key={ - "authorization": BEARER_TOKEN_FORMAT % token}) + "BearerToken": BEARER_TOKEN_FORMAT % token}) actual = FakeConfig() self.expect_exception(lambda: KubeConfigLoader( config_dict=self.TEST_KUBE_CONFIG, @@ -1728,7 +1723,7 @@ def test_new_client_from_config(self): config_file=kubeconfigs, context="simple_token") self.assertEqual(TEST_HOST, client.configuration.host) self.assertEqual(BEARER_TOKEN_FORMAT % TEST_DATA_BASE64, - client.configuration.api_key['authorization']) + client.configuration.api_key['BearerToken']) def test_merge_with_context_in_different_file(self): kubeconfigs = self._create_multi_config(self.TEST_KUBE_CONFIG_SET2) @@ -1744,7 +1739,7 @@ def test_merge_with_context_in_different_file(self): self.assertEqual(active_context, expected_contexts[0]) self.assertEqual(TEST_HOST, client.configuration.host) self.assertEqual(BEARER_TOKEN_FORMAT % TEST_DATA_BASE64, - client.configuration.api_key['authorization']) + client.configuration.api_key['BearerToken']) def test_save_changes(self): kubeconfigs = self._create_multi_config(self.TEST_KUBE_CONFIG_SET1) diff --git a/kubernetes/base/dynamic/client.py b/kubernetes/base/dynamic/client.py index 64163d7b5c..50b2e5586a 100644 --- a/kubernetes/base/dynamic/client.py +++ b/kubernetes/base/dynamic/client.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import six import json from kubernetes import watch @@ -57,19 +56,15 @@ def inner(self, *args, **kwargs): raise api_exception(e) if serialize_response: try: - if six.PY2: - return serializer(self, json.loads(resp.data)) return serializer(self, json.loads(resp.data.decode('utf8'))) except ValueError: - if six.PY2: - return resp.data return resp.data.decode('utf8') return resp return inner -class DynamicClient(object): +class DynamicClient: """ A kubernetes client that dynamically discovers and interacts with the kubernetes API """ @@ -258,7 +253,7 @@ def request(self, method, path, body=None, **params): local_var_files = {} # Checking Accept header. - new_header_params = dict((key.lower(), value) for key, value in header_params.items()) + new_header_params = {key.lower(): value for key, value in header_params.items()} if not 'accept' in new_header_params: header_params['Accept'] = self.client.select_header_accept([ 'application/json', diff --git a/kubernetes/base/dynamic/discovery.py b/kubernetes/base/dynamic/discovery.py index 3dd28af268..849faf9942 100644 --- a/kubernetes/base/dynamic/discovery.py +++ b/kubernetes/base/dynamic/discovery.py @@ -13,7 +13,6 @@ # limitations under the License. import os -import six import json import logging import hashlib @@ -33,7 +32,7 @@ DISCOVERY_PREFIX = 'apis' -class Discoverer(object): +class Discoverer: """ A convenient container for storing discovered API resources. Allows easy searching and retrieval of specific resources. @@ -43,9 +42,7 @@ class Discoverer(object): def __init__(self, client, cache_file): self.client = client - default_cache_id = self.client.configuration.host - if six.PY3: - default_cache_id = default_cache_id.encode('utf-8') + default_cache_id = self.client.configuration.host.encode('utf-8') try: default_cachefile_name = 'osrcp-{0}.json'.format(hashlib.md5(default_cache_id, usedforsecurity=False).hexdigest()) except TypeError: @@ -60,7 +57,7 @@ def __init_cache(self, refresh=False): refresh = True else: try: - with open(self.__cache_file, 'r') as f: + with open(self.__cache_file) as f: self._cache = json.load(f, cls=partial(CacheDecoder, self.client)) if self._cache.get('library_version') != __version__: # Version mismatch, need to refresh cache @@ -313,7 +310,7 @@ def __iter__(self): prefix, group, version, rg.preferred) self._cache['resources'][prefix][group][version] = rg self.__update_cache = True - for _, resource in six.iteritems(rg.resources): + for _, resource in rg.resources.items(): yield resource self.__maybe_write_cache() @@ -397,7 +394,7 @@ def __iter__(self): yield resource -class ResourceGroup(object): +class ResourceGroup: """Helper class for Discoverer container""" def __init__(self, preferred, resources=None): self.preferred = preferred diff --git a/kubernetes/base/dynamic/resource.py b/kubernetes/base/dynamic/resource.py index 58a60ec402..d77ec8e403 100644 --- a/kubernetes/base/dynamic/resource.py +++ b/kubernetes/base/dynamic/resource.py @@ -19,7 +19,7 @@ from pprint import pformat -class Resource(object): +class Resource: """ Represents an API resource type, containing the information required to build urls for requests """ def __init__(self, prefix=None, group=None, api_version=None, kind=None, @@ -278,7 +278,7 @@ def to_dict(self): return d -class ResourceInstance(object): +class ResourceInstance: """ A parsed instance of an API resource. It exists solely to ease interaction with API objects by allowing attributes to be accessed with '.' notation. @@ -338,14 +338,14 @@ def __repr__(self): def __getattr__(self, name): if not '_ResourceInstance__initialised' in self.__dict__: - return super(ResourceInstance, self).__getattr__(name) + return super().__getattr__(name) return getattr(self.attributes, name) def __setattr__(self, name, value): if not '_ResourceInstance__initialised' in self.__dict__: - return super(ResourceInstance, self).__setattr__(name, value) + return super().__setattr__(name, value) elif name in self.__dict__: - return super(ResourceInstance, self).__setattr__(name, value) + return super().__setattr__(name, value) else: self.attributes[name] = value @@ -359,7 +359,7 @@ def __dir__(self): return dir(type(self)) + list(self.attributes.__dict__.keys()) -class ResourceField(object): +class ResourceField: """ A parsed instance of an API resource attribute. It exists solely to ease interaction with API objects by allowing attributes to be accessed with '.' notation @@ -389,8 +389,7 @@ def __dir__(self): return dir(type(self)) + list(self.__dict__.keys()) def __iter__(self): - for k, v in self.__dict__.items(): - yield (k, v) + yield from self.__dict__.items() def to_dict(self): return self.__serialize(self) diff --git a/kubernetes/base/hack/boilerplate/boilerplate.py b/kubernetes/base/hack/boilerplate/boilerplate.py index eec04b4583..e58c625144 100755 --- a/kubernetes/base/hack/boilerplate/boilerplate.py +++ b/kubernetes/base/hack/boilerplate/boilerplate.py @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function import argparse import datetime @@ -60,7 +59,7 @@ def get_refs(): args.boilerplate_dir, "boilerplate.*.txt")): extension = os.path.basename(path).split(".")[1] - ref_file = open(path, 'r') + ref_file = open(path) ref = ref_file.read().splitlines() ref_file.close() refs[extension] = ref @@ -70,7 +69,7 @@ def get_refs(): def file_passes(filename, refs, regexs): try: - f = open(filename, 'r') + f = open(filename) except Exception as exc: print("Unable to open %s: %s" % (filename, exc), file=verbose_out) return False @@ -172,7 +171,7 @@ def get_files(extensions): def get_dates(): years = datetime.datetime.now().year - return '(%s)' % '|'.join((str(year) for year in range(2014, years+1))) + return '(%s)' % '|'.join(str(year) for year in range(2014, years+1)) def get_regexs(): diff --git a/kubernetes/base/leaderelection/leaderelection.py b/kubernetes/base/leaderelection/leaderelection.py index bbeb813505..4fff8d0790 100644 --- a/kubernetes/base/leaderelection/leaderelection.py +++ b/kubernetes/base/leaderelection/leaderelection.py @@ -19,16 +19,13 @@ import threading from .leaderelectionrecord import LeaderElectionRecord import logging -# if condition to be removed when support for python2 will be removed -if sys.version_info > (3, 0): - from http import HTTPStatus -else: - import httplib +from http import HTTPStatus + logger = logging.getLogger("leaderelection") """ This package implements leader election using an annotation in a Kubernetes object. -The onstarted_leading function is run in a thread and when it returns, if it does +The onstarted_leading function is run in a thread and when it returns, if it does it might not be safe to run it again in a process. At first all candidates are considered followers. The one to create a lock or update @@ -118,17 +115,13 @@ def try_acquire_or_renew(self): # A lock is not created with that name, try to create one if not lock_status: - # To be removed when support for python2 will be removed - if sys.version_info > (3, 0): - if json.loads(old_election_record.body)['code'] != HTTPStatus.NOT_FOUND: - logger.info("Error retrieving resource lock {} as {}".format(self.election_config.lock.name, - old_election_record.reason)) - return False - else: - if json.loads(old_election_record.body)['code'] != httplib.NOT_FOUND: - logger.info("Error retrieving resource lock {} as {}".format(self.election_config.lock.name, - old_election_record.reason)) - return False + if json.loads(old_election_record.body)[ + 'code'] != HTTPStatus.NOT_FOUND: + logger.info( + "Error retrieving resource lock {} as {}".format( + self.election_config.lock.name, + old_election_record.reason)) + return False logger.info("{} is trying to create a lock".format(leader_election_record.holder_identity)) create_status = self.election_config.lock.create(name=self.election_config.lock.name, diff --git a/kubernetes/base/stream/ws_client.py b/kubernetes/base/stream/ws_client.py index 27191fa93b..3031e01560 100644 --- a/kubernetes/base/stream/ws_client.py +++ b/kubernetes/base/stream/ws_client.py @@ -22,16 +22,12 @@ import ssl import threading import time - -import six -import yaml - - -from six.moves.urllib.parse import urlencode, urlparse, urlunparse -from six import StringIO, BytesIO - +from urllib.parse import urlencode, urlparse, urlunparse +from io import StringIO, BytesIO from websocket import WebSocket, ABNF, enableTrace, WebSocketConnectionClosedException from base64 import urlsafe_b64decode + +import yaml from requests.utils import should_bypass_proxies STDIN_CHANNEL = 0 @@ -136,12 +132,12 @@ def readline_channel(self, channel, timeout=None): def write_channel(self, channel, data): """Write data to a channel.""" # check if we're writing binary data or not - binary = six.PY3 and type(data) == six.binary_type + binary = type(data) == bytes opcode = ABNF.OPCODE_BINARY if binary else ABNF.OPCODE_TEXT channel_prefix = chr(channel) if binary: - channel_prefix = six.binary_type(channel_prefix, "ascii") + channel_prefix = bytes(channel_prefix, "ascii") payload = channel_prefix + data self.sock.send(payload, opcode=opcode) @@ -356,7 +352,7 @@ def __init__(self, ix, port_number): # The remote port number self.port_number = port_number # The websocket channel byte number for this port - self.channel = six.int2byte(ix * 2) + self.channel = bytes((ix * 2,)) # A socket pair is created to provide a means of translating the data flow # between the python application and the kubernetes websocket. The self.python # half of the socket pair is used by the _proxy method to receive and send data @@ -441,7 +437,7 @@ def _proxy(self): if opcode == ABNF.OPCODE_BINARY: if not frame.data: raise RuntimeError("Unexpected frame data size") - channel = six.byte2int(frame.data) + channel = frame.data[0] if channel >= len(channel_ports): raise RuntimeError("Unexpected channel number: %s" % channel) port = channel_ports[channel] @@ -458,7 +454,7 @@ def _proxy(self): raise RuntimeError( "Unexpected initial channel frame data size" ) - port_number = six.byte2int(frame.data[1:2]) + (six.byte2int(frame.data[2:3]) * 256) + port_number = frame.data[1:2][0] + (frame.data[2:3][0] * 256) if port_number != port.port_number: raise RuntimeError( "Unexpected port number in initial channel frame: %s" % port_number diff --git a/kubernetes/base/tox.ini b/kubernetes/base/tox.ini index 37a188f127..91cbf9b555 100644 --- a/kubernetes/base/tox.ini +++ b/kubernetes/base/tox.ini @@ -1,13 +1,21 @@ [tox] skipsdist = True envlist = - py3{5,6,7,8,9} - py3{5,6,7,8,9}-functional + py3{8,9} + py31{0,1,2,3,4,5} + py3{8,9}-functional + py31{0,1,2,3,4,5}-functional [testenv] -passenv = TOXENV CI TRAVIS TRAVIS_* +passenv = + TOXENV + CI + TRAVIS + TRAVIS_* +deps = + pytest commands = python -V - pip install pytest + pytest ./run_tox.sh pytest diff --git a/kubernetes/base/watch/watch.py b/kubernetes/base/watch/watch.py index 71926295cc..0e39e191a9 100644 --- a/kubernetes/base/watch/watch.py +++ b/kubernetes/base/watch/watch.py @@ -12,9 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +import http import json import pydoc -import sys from kubernetes import client @@ -28,14 +28,7 @@ # provide return_type to Watch class's __init__. TYPE_LIST_SUFFIX = "List" - -PY2 = sys.version_info[0] == 2 -if PY2: - import httplib - HTTP_STATUS_GONE = httplib.GONE -else: - import http - HTTP_STATUS_GONE = http.HTTPStatus.GONE +HTTP_STATUS_GONE = http.HTTPStatus.GONE class SimpleNamespace: @@ -83,7 +76,7 @@ def iter_resp_lines(resp): next_newline = buffer.find(b'\n') -class Watch(object): +class Watch: def __init__(self, return_type=None): self._raw_return_type = return_type diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 99ae0bb31c..5882145d9a 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "36.0.0" +__version__ = "36.0.1" # import apis into sdk package from kubernetes.client.api.well_known_api import WellKnownApi diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index c67c6e83b0..a6d09827f6 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/36.0.0/python' + self.user_agent = 'OpenAPI-Generator/36.0.1/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index 0d569ae32d..70d1e6bb7a 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -426,7 +426,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.36\n"\ - "SDK Package Version: 36.0.0".\ + "SDK Package Version: 36.0.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes/e2e_test/__init__.py b/kubernetes/e2e_test/__init__.py index 19f5e722fb..0680747644 100644 --- a/kubernetes/e2e_test/__init__.py +++ b/kubernetes/e2e_test/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/kubernetes/e2e_test/test_apps.py b/kubernetes/e2e_test/test_apps.py index 2735ed3cba..f4f333a055 100644 --- a/kubernetes/e2e_test/test_apps.py +++ b/kubernetes/e2e_test/test_apps.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/kubernetes/e2e_test/test_batch.py b/kubernetes/e2e_test/test_batch.py index 9935df3135..bb2bbb63c7 100644 --- a/kubernetes/e2e_test/test_batch.py +++ b/kubernetes/e2e_test/test_batch.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/kubernetes/e2e_test/test_client.py b/kubernetes/e2e_test/test_client.py index 6d2972f2bc..7f6c80559e 100644 --- a/kubernetes/e2e_test/test_client.py +++ b/kubernetes/e2e_test/test_client.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at @@ -19,9 +17,10 @@ import time import unittest import uuid -import six import io import gzip +import urllib.request as urllib_request +from http import HTTPStatus from kubernetes.client import api_client from kubernetes.client.api import core_v1_api @@ -30,12 +29,6 @@ from kubernetes.stream.ws_client import ERROR_CHANNEL from kubernetes.client.rest import ApiException -import six.moves.urllib.request as urllib_request - -if six.PY3: - from http import HTTPStatus -else: - import httplib def short_uuid(): @@ -88,8 +81,7 @@ def test_pod_apis(self): resp = api.read_namespaced_service_account(name='default', namespace='default') except ApiException as e: - if (six.PY3 and e.status != HTTPStatus.NOT_FOUND) or ( - six.PY3 is False and e.status != httplib.NOT_FOUND): + if e.status != HTTPStatus.NOT_FOUND: print('error: %s' % e) self.fail( msg="unexpected error getting default service account") @@ -274,8 +266,7 @@ def test_exit_code(self): resp = api.read_namespaced_service_account(name='default', namespace='default') except ApiException as e: - if (six.PY3 and e.status != HTTPStatus.NOT_FOUND) or ( - six.PY3 is False and e.status != httplib.NOT_FOUND): + if e.status != HTTPStatus.NOT_FOUND: print('error: %s' % e) self.fail( msg="unexpected error getting default service account") diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index b06c0a6b4a..433089efa1 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/kubernetes/e2e_test/test_watch.py b/kubernetes/e2e_test/test_watch.py index 134e9c26fd..6879d6d350 100644 --- a/kubernetes/e2e_test/test_watch.py +++ b/kubernetes/e2e_test/test_watch.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/kubernetes/utils/__init__.py b/kubernetes/utils/__init__.py index c83d54fe76..92ab696782 100644 --- a/kubernetes/utils/__init__.py +++ b/kubernetes/utils/__init__.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import absolute_import from .create_from_yaml import (FailToCreateError, create_from_dict, create_from_yaml, create_from_directory) diff --git a/kubernetes_asyncio/client/__init__.py b/kubernetes_asyncio/client/__init__.py deleted file mode 100644 index a67fffa554..0000000000 --- a/kubernetes_asyncio/client/__init__.py +++ /dev/null @@ -1,863 +0,0 @@ -# coding: utf-8 - -# flake8: noqa - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.36 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -__version__ = "36.0.0" - -# import apis into sdk package -from kubernetes_asyncio.client.api.well_known_api import WellKnownApi -from kubernetes_asyncio.client.api.admissionregistration_api import AdmissionregistrationApi -from kubernetes_asyncio.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api -from kubernetes_asyncio.client.api.admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api -from kubernetes_asyncio.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api -from kubernetes_asyncio.client.api.apiextensions_api import ApiextensionsApi -from kubernetes_asyncio.client.api.apiextensions_v1_api import ApiextensionsV1Api -from kubernetes_asyncio.client.api.apiregistration_api import ApiregistrationApi -from kubernetes_asyncio.client.api.apiregistration_v1_api import ApiregistrationV1Api -from kubernetes_asyncio.client.api.apis_api import ApisApi -from kubernetes_asyncio.client.api.apps_api import AppsApi -from kubernetes_asyncio.client.api.apps_v1_api import AppsV1Api -from kubernetes_asyncio.client.api.authentication_api import AuthenticationApi -from kubernetes_asyncio.client.api.authentication_v1_api import AuthenticationV1Api -from kubernetes_asyncio.client.api.authorization_api import AuthorizationApi -from kubernetes_asyncio.client.api.authorization_v1_api import AuthorizationV1Api -from kubernetes_asyncio.client.api.autoscaling_api import AutoscalingApi -from kubernetes_asyncio.client.api.autoscaling_v1_api import AutoscalingV1Api -from kubernetes_asyncio.client.api.autoscaling_v2_api import AutoscalingV2Api -from kubernetes_asyncio.client.api.batch_api import BatchApi -from kubernetes_asyncio.client.api.batch_v1_api import BatchV1Api -from kubernetes_asyncio.client.api.certificates_api import CertificatesApi -from kubernetes_asyncio.client.api.certificates_v1_api import CertificatesV1Api -from kubernetes_asyncio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api -from kubernetes_asyncio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api -from kubernetes_asyncio.client.api.coordination_api import CoordinationApi -from kubernetes_asyncio.client.api.coordination_v1_api import CoordinationV1Api -from kubernetes_asyncio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api -from kubernetes_asyncio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api -from kubernetes_asyncio.client.api.core_api import CoreApi -from kubernetes_asyncio.client.api.core_v1_api import CoreV1Api -from kubernetes_asyncio.client.api.custom_objects_api import CustomObjectsApi -from kubernetes_asyncio.client.api.discovery_api import DiscoveryApi -from kubernetes_asyncio.client.api.discovery_v1_api import DiscoveryV1Api -from kubernetes_asyncio.client.api.events_api import EventsApi -from kubernetes_asyncio.client.api.events_v1_api import EventsV1Api -from kubernetes_asyncio.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi -from kubernetes_asyncio.client.api.flowcontrol_apiserver_v1_api import FlowcontrolApiserverV1Api -from kubernetes_asyncio.client.api.internal_apiserver_api import InternalApiserverApi -from kubernetes_asyncio.client.api.internal_apiserver_v1alpha1_api import InternalApiserverV1alpha1Api -from kubernetes_asyncio.client.api.logs_api import LogsApi -from kubernetes_asyncio.client.api.networking_api import NetworkingApi -from kubernetes_asyncio.client.api.networking_v1_api import NetworkingV1Api -from kubernetes_asyncio.client.api.networking_v1beta1_api import NetworkingV1beta1Api -from kubernetes_asyncio.client.api.node_api import NodeApi -from kubernetes_asyncio.client.api.node_v1_api import NodeV1Api -from kubernetes_asyncio.client.api.openid_api import OpenidApi -from kubernetes_asyncio.client.api.policy_api import PolicyApi -from kubernetes_asyncio.client.api.policy_v1_api import PolicyV1Api -from kubernetes_asyncio.client.api.rbac_authorization_api import RbacAuthorizationApi -from kubernetes_asyncio.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api -from kubernetes_asyncio.client.api.resource_api import ResourceApi -from kubernetes_asyncio.client.api.resource_v1_api import ResourceV1Api -from kubernetes_asyncio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api -from kubernetes_asyncio.client.api.resource_v1beta1_api import ResourceV1beta1Api -from kubernetes_asyncio.client.api.resource_v1beta2_api import ResourceV1beta2Api -from kubernetes_asyncio.client.api.scheduling_api import SchedulingApi -from kubernetes_asyncio.client.api.scheduling_v1_api import SchedulingV1Api -from kubernetes_asyncio.client.api.scheduling_v1alpha2_api import SchedulingV1alpha2Api -from kubernetes_asyncio.client.api.storage_api import StorageApi -from kubernetes_asyncio.client.api.storage_v1_api import StorageV1Api -from kubernetes_asyncio.client.api.storage_v1beta1_api import StorageV1beta1Api -from kubernetes_asyncio.client.api.storagemigration_api import StoragemigrationApi -from kubernetes_asyncio.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api -from kubernetes_asyncio.client.api.version_api import VersionApi - -# import ApiClient -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.configuration import Configuration -from kubernetes_asyncio.client.exceptions import OpenApiException -from kubernetes_asyncio.client.exceptions import ApiTypeError -from kubernetes_asyncio.client.exceptions import ApiValueError -from kubernetes_asyncio.client.exceptions import ApiKeyError -from kubernetes_asyncio.client.exceptions import ApiAttributeError -from kubernetes_asyncio.client.exceptions import ApiException -# import models into sdk package -from kubernetes_asyncio.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference -from kubernetes_asyncio.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig -from kubernetes_asyncio.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference -from kubernetes_asyncio.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig -from kubernetes_asyncio.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference -from kubernetes_asyncio.client.models.authentication_v1_token_request import AuthenticationV1TokenRequest -from kubernetes_asyncio.client.models.core_v1_endpoint_port import CoreV1EndpointPort -from kubernetes_asyncio.client.models.core_v1_event import CoreV1Event -from kubernetes_asyncio.client.models.core_v1_event_list import CoreV1EventList -from kubernetes_asyncio.client.models.core_v1_event_series import CoreV1EventSeries -from kubernetes_asyncio.client.models.core_v1_resource_claim import CoreV1ResourceClaim -from kubernetes_asyncio.client.models.discovery_v1_endpoint_port import DiscoveryV1EndpointPort -from kubernetes_asyncio.client.models.events_v1_event import EventsV1Event -from kubernetes_asyncio.client.models.events_v1_event_list import EventsV1EventList -from kubernetes_asyncio.client.models.events_v1_event_series import EventsV1EventSeries -from kubernetes_asyncio.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject -from kubernetes_asyncio.client.models.rbac_v1_subject import RbacV1Subject -from kubernetes_asyncio.client.models.resource_v1_resource_claim import ResourceV1ResourceClaim -from kubernetes_asyncio.client.models.storage_v1_token_request import StorageV1TokenRequest -from kubernetes_asyncio.client.models.v1_api_group import V1APIGroup -from kubernetes_asyncio.client.models.v1_api_group_list import V1APIGroupList -from kubernetes_asyncio.client.models.v1_api_resource import V1APIResource -from kubernetes_asyncio.client.models.v1_api_resource_list import V1APIResourceList -from kubernetes_asyncio.client.models.v1_api_service import V1APIService -from kubernetes_asyncio.client.models.v1_api_service_condition import V1APIServiceCondition -from kubernetes_asyncio.client.models.v1_api_service_list import V1APIServiceList -from kubernetes_asyncio.client.models.v1_api_service_spec import V1APIServiceSpec -from kubernetes_asyncio.client.models.v1_api_service_status import V1APIServiceStatus -from kubernetes_asyncio.client.models.v1_api_versions import V1APIVersions -from kubernetes_asyncio.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource -from kubernetes_asyncio.client.models.v1_affinity import V1Affinity -from kubernetes_asyncio.client.models.v1_aggregation_rule import V1AggregationRule -from kubernetes_asyncio.client.models.v1_allocated_device_status import V1AllocatedDeviceStatus -from kubernetes_asyncio.client.models.v1_allocation_result import V1AllocationResult -from kubernetes_asyncio.client.models.v1_app_armor_profile import V1AppArmorProfile -from kubernetes_asyncio.client.models.v1_apply_configuration import V1ApplyConfiguration -from kubernetes_asyncio.client.models.v1_attached_volume import V1AttachedVolume -from kubernetes_asyncio.client.models.v1_audit_annotation import V1AuditAnnotation -from kubernetes_asyncio.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource -from kubernetes_asyncio.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource -from kubernetes_asyncio.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource -from kubernetes_asyncio.client.models.v1_binding import V1Binding -from kubernetes_asyncio.client.models.v1_bound_object_reference import V1BoundObjectReference -from kubernetes_asyncio.client.models.v1_cel_device_selector import V1CELDeviceSelector -from kubernetes_asyncio.client.models.v1_csi_driver import V1CSIDriver -from kubernetes_asyncio.client.models.v1_csi_driver_list import V1CSIDriverList -from kubernetes_asyncio.client.models.v1_csi_driver_spec import V1CSIDriverSpec -from kubernetes_asyncio.client.models.v1_csi_node import V1CSINode -from kubernetes_asyncio.client.models.v1_csi_node_driver import V1CSINodeDriver -from kubernetes_asyncio.client.models.v1_csi_node_list import V1CSINodeList -from kubernetes_asyncio.client.models.v1_csi_node_spec import V1CSINodeSpec -from kubernetes_asyncio.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_csi_storage_capacity import V1CSIStorageCapacity -from kubernetes_asyncio.client.models.v1_csi_storage_capacity_list import V1CSIStorageCapacityList -from kubernetes_asyncio.client.models.v1_csi_volume_source import V1CSIVolumeSource -from kubernetes_asyncio.client.models.v1_capabilities import V1Capabilities -from kubernetes_asyncio.client.models.v1_capacity_request_policy import V1CapacityRequestPolicy -from kubernetes_asyncio.client.models.v1_capacity_request_policy_range import V1CapacityRequestPolicyRange -from kubernetes_asyncio.client.models.v1_capacity_requirements import V1CapacityRequirements -from kubernetes_asyncio.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource -from kubernetes_asyncio.client.models.v1_certificate_signing_request import V1CertificateSigningRequest -from kubernetes_asyncio.client.models.v1_certificate_signing_request_condition import V1CertificateSigningRequestCondition -from kubernetes_asyncio.client.models.v1_certificate_signing_request_list import V1CertificateSigningRequestList -from kubernetes_asyncio.client.models.v1_certificate_signing_request_spec import V1CertificateSigningRequestSpec -from kubernetes_asyncio.client.models.v1_certificate_signing_request_status import V1CertificateSigningRequestStatus -from kubernetes_asyncio.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_cinder_volume_source import V1CinderVolumeSource -from kubernetes_asyncio.client.models.v1_client_ip_config import V1ClientIPConfig -from kubernetes_asyncio.client.models.v1_cluster_role import V1ClusterRole -from kubernetes_asyncio.client.models.v1_cluster_role_binding import V1ClusterRoleBinding -from kubernetes_asyncio.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList -from kubernetes_asyncio.client.models.v1_cluster_role_list import V1ClusterRoleList -from kubernetes_asyncio.client.models.v1_cluster_trust_bundle_projection import V1ClusterTrustBundleProjection -from kubernetes_asyncio.client.models.v1_component_condition import V1ComponentCondition -from kubernetes_asyncio.client.models.v1_component_status import V1ComponentStatus -from kubernetes_asyncio.client.models.v1_component_status_list import V1ComponentStatusList -from kubernetes_asyncio.client.models.v1_condition import V1Condition -from kubernetes_asyncio.client.models.v1_config_map import V1ConfigMap -from kubernetes_asyncio.client.models.v1_config_map_env_source import V1ConfigMapEnvSource -from kubernetes_asyncio.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector -from kubernetes_asyncio.client.models.v1_config_map_list import V1ConfigMapList -from kubernetes_asyncio.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource -from kubernetes_asyncio.client.models.v1_config_map_projection import V1ConfigMapProjection -from kubernetes_asyncio.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource -from kubernetes_asyncio.client.models.v1_container import V1Container -from kubernetes_asyncio.client.models.v1_container_extended_resource_request import V1ContainerExtendedResourceRequest -from kubernetes_asyncio.client.models.v1_container_image import V1ContainerImage -from kubernetes_asyncio.client.models.v1_container_port import V1ContainerPort -from kubernetes_asyncio.client.models.v1_container_resize_policy import V1ContainerResizePolicy -from kubernetes_asyncio.client.models.v1_container_restart_rule import V1ContainerRestartRule -from kubernetes_asyncio.client.models.v1_container_restart_rule_on_exit_codes import V1ContainerRestartRuleOnExitCodes -from kubernetes_asyncio.client.models.v1_container_state import V1ContainerState -from kubernetes_asyncio.client.models.v1_container_state_running import V1ContainerStateRunning -from kubernetes_asyncio.client.models.v1_container_state_terminated import V1ContainerStateTerminated -from kubernetes_asyncio.client.models.v1_container_state_waiting import V1ContainerStateWaiting -from kubernetes_asyncio.client.models.v1_container_status import V1ContainerStatus -from kubernetes_asyncio.client.models.v1_container_user import V1ContainerUser -from kubernetes_asyncio.client.models.v1_controller_revision import V1ControllerRevision -from kubernetes_asyncio.client.models.v1_controller_revision_list import V1ControllerRevisionList -from kubernetes_asyncio.client.models.v1_counter import V1Counter -from kubernetes_asyncio.client.models.v1_counter_set import V1CounterSet -from kubernetes_asyncio.client.models.v1_cron_job import V1CronJob -from kubernetes_asyncio.client.models.v1_cron_job_list import V1CronJobList -from kubernetes_asyncio.client.models.v1_cron_job_spec import V1CronJobSpec -from kubernetes_asyncio.client.models.v1_cron_job_status import V1CronJobStatus -from kubernetes_asyncio.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference -from kubernetes_asyncio.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition -from kubernetes_asyncio.client.models.v1_custom_resource_conversion import V1CustomResourceConversion -from kubernetes_asyncio.client.models.v1_custom_resource_definition import V1CustomResourceDefinition -from kubernetes_asyncio.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition -from kubernetes_asyncio.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList -from kubernetes_asyncio.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames -from kubernetes_asyncio.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec -from kubernetes_asyncio.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus -from kubernetes_asyncio.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion -from kubernetes_asyncio.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale -from kubernetes_asyncio.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources -from kubernetes_asyncio.client.models.v1_custom_resource_validation import V1CustomResourceValidation -from kubernetes_asyncio.client.models.v1_daemon_endpoint import V1DaemonEndpoint -from kubernetes_asyncio.client.models.v1_daemon_set import V1DaemonSet -from kubernetes_asyncio.client.models.v1_daemon_set_condition import V1DaemonSetCondition -from kubernetes_asyncio.client.models.v1_daemon_set_list import V1DaemonSetList -from kubernetes_asyncio.client.models.v1_daemon_set_spec import V1DaemonSetSpec -from kubernetes_asyncio.client.models.v1_daemon_set_status import V1DaemonSetStatus -from kubernetes_asyncio.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy -from kubernetes_asyncio.client.models.v1_delete_options import V1DeleteOptions -from kubernetes_asyncio.client.models.v1_deployment import V1Deployment -from kubernetes_asyncio.client.models.v1_deployment_condition import V1DeploymentCondition -from kubernetes_asyncio.client.models.v1_deployment_list import V1DeploymentList -from kubernetes_asyncio.client.models.v1_deployment_spec import V1DeploymentSpec -from kubernetes_asyncio.client.models.v1_deployment_status import V1DeploymentStatus -from kubernetes_asyncio.client.models.v1_deployment_strategy import V1DeploymentStrategy -from kubernetes_asyncio.client.models.v1_device import V1Device -from kubernetes_asyncio.client.models.v1_device_allocation_configuration import V1DeviceAllocationConfiguration -from kubernetes_asyncio.client.models.v1_device_allocation_result import V1DeviceAllocationResult -from kubernetes_asyncio.client.models.v1_device_attribute import V1DeviceAttribute -from kubernetes_asyncio.client.models.v1_device_capacity import V1DeviceCapacity -from kubernetes_asyncio.client.models.v1_device_claim import V1DeviceClaim -from kubernetes_asyncio.client.models.v1_device_claim_configuration import V1DeviceClaimConfiguration -from kubernetes_asyncio.client.models.v1_device_class import V1DeviceClass -from kubernetes_asyncio.client.models.v1_device_class_configuration import V1DeviceClassConfiguration -from kubernetes_asyncio.client.models.v1_device_class_list import V1DeviceClassList -from kubernetes_asyncio.client.models.v1_device_class_spec import V1DeviceClassSpec -from kubernetes_asyncio.client.models.v1_device_constraint import V1DeviceConstraint -from kubernetes_asyncio.client.models.v1_device_counter_consumption import V1DeviceCounterConsumption -from kubernetes_asyncio.client.models.v1_device_request import V1DeviceRequest -from kubernetes_asyncio.client.models.v1_device_request_allocation_result import V1DeviceRequestAllocationResult -from kubernetes_asyncio.client.models.v1_device_selector import V1DeviceSelector -from kubernetes_asyncio.client.models.v1_device_sub_request import V1DeviceSubRequest -from kubernetes_asyncio.client.models.v1_device_taint import V1DeviceTaint -from kubernetes_asyncio.client.models.v1_device_toleration import V1DeviceToleration -from kubernetes_asyncio.client.models.v1_downward_api_projection import V1DownwardAPIProjection -from kubernetes_asyncio.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile -from kubernetes_asyncio.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource -from kubernetes_asyncio.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource -from kubernetes_asyncio.client.models.v1_endpoint import V1Endpoint -from kubernetes_asyncio.client.models.v1_endpoint_address import V1EndpointAddress -from kubernetes_asyncio.client.models.v1_endpoint_conditions import V1EndpointConditions -from kubernetes_asyncio.client.models.v1_endpoint_hints import V1EndpointHints -from kubernetes_asyncio.client.models.v1_endpoint_slice import V1EndpointSlice -from kubernetes_asyncio.client.models.v1_endpoint_slice_list import V1EndpointSliceList -from kubernetes_asyncio.client.models.v1_endpoint_subset import V1EndpointSubset -from kubernetes_asyncio.client.models.v1_endpoints import V1Endpoints -from kubernetes_asyncio.client.models.v1_endpoints_list import V1EndpointsList -from kubernetes_asyncio.client.models.v1_env_from_source import V1EnvFromSource -from kubernetes_asyncio.client.models.v1_env_var import V1EnvVar -from kubernetes_asyncio.client.models.v1_env_var_source import V1EnvVarSource -from kubernetes_asyncio.client.models.v1_ephemeral_container import V1EphemeralContainer -from kubernetes_asyncio.client.models.v1_ephemeral_volume_source import V1EphemeralVolumeSource -from kubernetes_asyncio.client.models.v1_event_source import V1EventSource -from kubernetes_asyncio.client.models.v1_eviction import V1Eviction -from kubernetes_asyncio.client.models.v1_exact_device_request import V1ExactDeviceRequest -from kubernetes_asyncio.client.models.v1_exec_action import V1ExecAction -from kubernetes_asyncio.client.models.v1_exempt_priority_level_configuration import V1ExemptPriorityLevelConfiguration -from kubernetes_asyncio.client.models.v1_expression_warning import V1ExpressionWarning -from kubernetes_asyncio.client.models.v1_external_documentation import V1ExternalDocumentation -from kubernetes_asyncio.client.models.v1_fc_volume_source import V1FCVolumeSource -from kubernetes_asyncio.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes -from kubernetes_asyncio.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement -from kubernetes_asyncio.client.models.v1_file_key_selector import V1FileKeySelector -from kubernetes_asyncio.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_flex_volume_source import V1FlexVolumeSource -from kubernetes_asyncio.client.models.v1_flocker_volume_source import V1FlockerVolumeSource -from kubernetes_asyncio.client.models.v1_flow_distinguisher_method import V1FlowDistinguisherMethod -from kubernetes_asyncio.client.models.v1_flow_schema import V1FlowSchema -from kubernetes_asyncio.client.models.v1_flow_schema_condition import V1FlowSchemaCondition -from kubernetes_asyncio.client.models.v1_flow_schema_list import V1FlowSchemaList -from kubernetes_asyncio.client.models.v1_flow_schema_spec import V1FlowSchemaSpec -from kubernetes_asyncio.client.models.v1_flow_schema_status import V1FlowSchemaStatus -from kubernetes_asyncio.client.models.v1_for_node import V1ForNode -from kubernetes_asyncio.client.models.v1_for_zone import V1ForZone -from kubernetes_asyncio.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource -from kubernetes_asyncio.client.models.v1_grpc_action import V1GRPCAction -from kubernetes_asyncio.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource -from kubernetes_asyncio.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource -from kubernetes_asyncio.client.models.v1_group_resource import V1GroupResource -from kubernetes_asyncio.client.models.v1_group_subject import V1GroupSubject -from kubernetes_asyncio.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery -from kubernetes_asyncio.client.models.v1_http_get_action import V1HTTPGetAction -from kubernetes_asyncio.client.models.v1_http_header import V1HTTPHeader -from kubernetes_asyncio.client.models.v1_http_ingress_path import V1HTTPIngressPath -from kubernetes_asyncio.client.models.v1_http_ingress_rule_value import V1HTTPIngressRuleValue -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus -from kubernetes_asyncio.client.models.v1_host_alias import V1HostAlias -from kubernetes_asyncio.client.models.v1_host_ip import V1HostIP -from kubernetes_asyncio.client.models.v1_host_path_volume_source import V1HostPathVolumeSource -from kubernetes_asyncio.client.models.v1_ip_address import V1IPAddress -from kubernetes_asyncio.client.models.v1_ip_address_list import V1IPAddressList -from kubernetes_asyncio.client.models.v1_ip_address_spec import V1IPAddressSpec -from kubernetes_asyncio.client.models.v1_ip_block import V1IPBlock -from kubernetes_asyncio.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource -from kubernetes_asyncio.client.models.v1_image_volume_source import V1ImageVolumeSource -from kubernetes_asyncio.client.models.v1_image_volume_status import V1ImageVolumeStatus -from kubernetes_asyncio.client.models.v1_ingress import V1Ingress -from kubernetes_asyncio.client.models.v1_ingress_backend import V1IngressBackend -from kubernetes_asyncio.client.models.v1_ingress_class import V1IngressClass -from kubernetes_asyncio.client.models.v1_ingress_class_list import V1IngressClassList -from kubernetes_asyncio.client.models.v1_ingress_class_parameters_reference import V1IngressClassParametersReference -from kubernetes_asyncio.client.models.v1_ingress_class_spec import V1IngressClassSpec -from kubernetes_asyncio.client.models.v1_ingress_list import V1IngressList -from kubernetes_asyncio.client.models.v1_ingress_load_balancer_ingress import V1IngressLoadBalancerIngress -from kubernetes_asyncio.client.models.v1_ingress_load_balancer_status import V1IngressLoadBalancerStatus -from kubernetes_asyncio.client.models.v1_ingress_port_status import V1IngressPortStatus -from kubernetes_asyncio.client.models.v1_ingress_rule import V1IngressRule -from kubernetes_asyncio.client.models.v1_ingress_service_backend import V1IngressServiceBackend -from kubernetes_asyncio.client.models.v1_ingress_spec import V1IngressSpec -from kubernetes_asyncio.client.models.v1_ingress_status import V1IngressStatus -from kubernetes_asyncio.client.models.v1_ingress_tls import V1IngressTLS -from kubernetes_asyncio.client.models.v1_json_patch import V1JSONPatch -from kubernetes_asyncio.client.models.v1_json_schema_props import V1JSONSchemaProps -from kubernetes_asyncio.client.models.v1_job import V1Job -from kubernetes_asyncio.client.models.v1_job_condition import V1JobCondition -from kubernetes_asyncio.client.models.v1_job_list import V1JobList -from kubernetes_asyncio.client.models.v1_job_spec import V1JobSpec -from kubernetes_asyncio.client.models.v1_job_status import V1JobStatus -from kubernetes_asyncio.client.models.v1_job_template_spec import V1JobTemplateSpec -from kubernetes_asyncio.client.models.v1_key_to_path import V1KeyToPath -from kubernetes_asyncio.client.models.v1_label_selector import V1LabelSelector -from kubernetes_asyncio.client.models.v1_label_selector_attributes import V1LabelSelectorAttributes -from kubernetes_asyncio.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement -from kubernetes_asyncio.client.models.v1_lease import V1Lease -from kubernetes_asyncio.client.models.v1_lease_list import V1LeaseList -from kubernetes_asyncio.client.models.v1_lease_spec import V1LeaseSpec -from kubernetes_asyncio.client.models.v1_lifecycle import V1Lifecycle -from kubernetes_asyncio.client.models.v1_lifecycle_handler import V1LifecycleHandler -from kubernetes_asyncio.client.models.v1_limit_range import V1LimitRange -from kubernetes_asyncio.client.models.v1_limit_range_item import V1LimitRangeItem -from kubernetes_asyncio.client.models.v1_limit_range_list import V1LimitRangeList -from kubernetes_asyncio.client.models.v1_limit_range_spec import V1LimitRangeSpec -from kubernetes_asyncio.client.models.v1_limit_response import V1LimitResponse -from kubernetes_asyncio.client.models.v1_limited_priority_level_configuration import V1LimitedPriorityLevelConfiguration -from kubernetes_asyncio.client.models.v1_linux_container_user import V1LinuxContainerUser -from kubernetes_asyncio.client.models.v1_list_meta import V1ListMeta -from kubernetes_asyncio.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress -from kubernetes_asyncio.client.models.v1_load_balancer_status import V1LoadBalancerStatus -from kubernetes_asyncio.client.models.v1_local_object_reference import V1LocalObjectReference -from kubernetes_asyncio.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview -from kubernetes_asyncio.client.models.v1_local_volume_source import V1LocalVolumeSource -from kubernetes_asyncio.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry -from kubernetes_asyncio.client.models.v1_match_condition import V1MatchCondition -from kubernetes_asyncio.client.models.v1_match_resources import V1MatchResources -from kubernetes_asyncio.client.models.v1_modify_volume_status import V1ModifyVolumeStatus -from kubernetes_asyncio.client.models.v1_mutating_admission_policy import V1MutatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_binding import V1MutatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_binding_list import V1MutatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_binding_spec import V1MutatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_list import V1MutatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_spec import V1MutatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1_mutating_webhook import V1MutatingWebhook -from kubernetes_asyncio.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration -from kubernetes_asyncio.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList -from kubernetes_asyncio.client.models.v1_mutation import V1Mutation -from kubernetes_asyncio.client.models.v1_nfs_volume_source import V1NFSVolumeSource -from kubernetes_asyncio.client.models.v1_named_rule_with_operations import V1NamedRuleWithOperations -from kubernetes_asyncio.client.models.v1_namespace import V1Namespace -from kubernetes_asyncio.client.models.v1_namespace_condition import V1NamespaceCondition -from kubernetes_asyncio.client.models.v1_namespace_list import V1NamespaceList -from kubernetes_asyncio.client.models.v1_namespace_spec import V1NamespaceSpec -from kubernetes_asyncio.client.models.v1_namespace_status import V1NamespaceStatus -from kubernetes_asyncio.client.models.v1_network_device_data import V1NetworkDeviceData -from kubernetes_asyncio.client.models.v1_network_policy import V1NetworkPolicy -from kubernetes_asyncio.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule -from kubernetes_asyncio.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule -from kubernetes_asyncio.client.models.v1_network_policy_list import V1NetworkPolicyList -from kubernetes_asyncio.client.models.v1_network_policy_peer import V1NetworkPolicyPeer -from kubernetes_asyncio.client.models.v1_network_policy_port import V1NetworkPolicyPort -from kubernetes_asyncio.client.models.v1_network_policy_spec import V1NetworkPolicySpec -from kubernetes_asyncio.client.models.v1_node import V1Node -from kubernetes_asyncio.client.models.v1_node_address import V1NodeAddress -from kubernetes_asyncio.client.models.v1_node_affinity import V1NodeAffinity -from kubernetes_asyncio.client.models.v1_node_allocatable_resource_claim_status import V1NodeAllocatableResourceClaimStatus -from kubernetes_asyncio.client.models.v1_node_allocatable_resource_mapping import V1NodeAllocatableResourceMapping -from kubernetes_asyncio.client.models.v1_node_condition import V1NodeCondition -from kubernetes_asyncio.client.models.v1_node_config_source import V1NodeConfigSource -from kubernetes_asyncio.client.models.v1_node_config_status import V1NodeConfigStatus -from kubernetes_asyncio.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints -from kubernetes_asyncio.client.models.v1_node_features import V1NodeFeatures -from kubernetes_asyncio.client.models.v1_node_list import V1NodeList -from kubernetes_asyncio.client.models.v1_node_runtime_handler import V1NodeRuntimeHandler -from kubernetes_asyncio.client.models.v1_node_runtime_handler_features import V1NodeRuntimeHandlerFeatures -from kubernetes_asyncio.client.models.v1_node_selector import V1NodeSelector -from kubernetes_asyncio.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement -from kubernetes_asyncio.client.models.v1_node_selector_term import V1NodeSelectorTerm -from kubernetes_asyncio.client.models.v1_node_spec import V1NodeSpec -from kubernetes_asyncio.client.models.v1_node_status import V1NodeStatus -from kubernetes_asyncio.client.models.v1_node_swap_status import V1NodeSwapStatus -from kubernetes_asyncio.client.models.v1_node_system_info import V1NodeSystemInfo -from kubernetes_asyncio.client.models.v1_non_resource_attributes import V1NonResourceAttributes -from kubernetes_asyncio.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule -from kubernetes_asyncio.client.models.v1_non_resource_rule import V1NonResourceRule -from kubernetes_asyncio.client.models.v1_object_field_selector import V1ObjectFieldSelector -from kubernetes_asyncio.client.models.v1_object_meta import V1ObjectMeta -from kubernetes_asyncio.client.models.v1_object_reference import V1ObjectReference -from kubernetes_asyncio.client.models.v1_opaque_device_configuration import V1OpaqueDeviceConfiguration -from kubernetes_asyncio.client.models.v1_overhead import V1Overhead -from kubernetes_asyncio.client.models.v1_owner_reference import V1OwnerReference -from kubernetes_asyncio.client.models.v1_param_kind import V1ParamKind -from kubernetes_asyncio.client.models.v1_param_ref import V1ParamRef -from kubernetes_asyncio.client.models.v1_parent_reference import V1ParentReference -from kubernetes_asyncio.client.models.v1_persistent_volume import V1PersistentVolume -from kubernetes_asyncio.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_template import V1PersistentVolumeClaimTemplate -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource -from kubernetes_asyncio.client.models.v1_persistent_volume_list import V1PersistentVolumeList -from kubernetes_asyncio.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec -from kubernetes_asyncio.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus -from kubernetes_asyncio.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource -from kubernetes_asyncio.client.models.v1_pod import V1Pod -from kubernetes_asyncio.client.models.v1_pod_affinity import V1PodAffinity -from kubernetes_asyncio.client.models.v1_pod_affinity_term import V1PodAffinityTerm -from kubernetes_asyncio.client.models.v1_pod_anti_affinity import V1PodAntiAffinity -from kubernetes_asyncio.client.models.v1_pod_certificate_projection import V1PodCertificateProjection -from kubernetes_asyncio.client.models.v1_pod_condition import V1PodCondition -from kubernetes_asyncio.client.models.v1_pod_dns_config import V1PodDNSConfig -from kubernetes_asyncio.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption -from kubernetes_asyncio.client.models.v1_pod_disruption_budget import V1PodDisruptionBudget -from kubernetes_asyncio.client.models.v1_pod_disruption_budget_list import V1PodDisruptionBudgetList -from kubernetes_asyncio.client.models.v1_pod_disruption_budget_spec import V1PodDisruptionBudgetSpec -from kubernetes_asyncio.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus -from kubernetes_asyncio.client.models.v1_pod_extended_resource_claim_status import V1PodExtendedResourceClaimStatus -from kubernetes_asyncio.client.models.v1_pod_failure_policy import V1PodFailurePolicy -from kubernetes_asyncio.client.models.v1_pod_failure_policy_on_exit_codes_requirement import V1PodFailurePolicyOnExitCodesRequirement -from kubernetes_asyncio.client.models.v1_pod_failure_policy_on_pod_conditions_pattern import V1PodFailurePolicyOnPodConditionsPattern -from kubernetes_asyncio.client.models.v1_pod_failure_policy_rule import V1PodFailurePolicyRule -from kubernetes_asyncio.client.models.v1_pod_ip import V1PodIP -from kubernetes_asyncio.client.models.v1_pod_list import V1PodList -from kubernetes_asyncio.client.models.v1_pod_os import V1PodOS -from kubernetes_asyncio.client.models.v1_pod_readiness_gate import V1PodReadinessGate -from kubernetes_asyncio.client.models.v1_pod_resource_claim import V1PodResourceClaim -from kubernetes_asyncio.client.models.v1_pod_resource_claim_status import V1PodResourceClaimStatus -from kubernetes_asyncio.client.models.v1_pod_scheduling_gate import V1PodSchedulingGate -from kubernetes_asyncio.client.models.v1_pod_scheduling_group import V1PodSchedulingGroup -from kubernetes_asyncio.client.models.v1_pod_security_context import V1PodSecurityContext -from kubernetes_asyncio.client.models.v1_pod_spec import V1PodSpec -from kubernetes_asyncio.client.models.v1_pod_status import V1PodStatus -from kubernetes_asyncio.client.models.v1_pod_template import V1PodTemplate -from kubernetes_asyncio.client.models.v1_pod_template_list import V1PodTemplateList -from kubernetes_asyncio.client.models.v1_pod_template_spec import V1PodTemplateSpec -from kubernetes_asyncio.client.models.v1_policy_rule import V1PolicyRule -from kubernetes_asyncio.client.models.v1_policy_rules_with_subjects import V1PolicyRulesWithSubjects -from kubernetes_asyncio.client.models.v1_port_status import V1PortStatus -from kubernetes_asyncio.client.models.v1_portworx_volume_source import V1PortworxVolumeSource -from kubernetes_asyncio.client.models.v1_preconditions import V1Preconditions -from kubernetes_asyncio.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm -from kubernetes_asyncio.client.models.v1_priority_class import V1PriorityClass -from kubernetes_asyncio.client.models.v1_priority_class_list import V1PriorityClassList -from kubernetes_asyncio.client.models.v1_priority_level_configuration import V1PriorityLevelConfiguration -from kubernetes_asyncio.client.models.v1_priority_level_configuration_condition import V1PriorityLevelConfigurationCondition -from kubernetes_asyncio.client.models.v1_priority_level_configuration_list import V1PriorityLevelConfigurationList -from kubernetes_asyncio.client.models.v1_priority_level_configuration_reference import V1PriorityLevelConfigurationReference -from kubernetes_asyncio.client.models.v1_priority_level_configuration_spec import V1PriorityLevelConfigurationSpec -from kubernetes_asyncio.client.models.v1_priority_level_configuration_status import V1PriorityLevelConfigurationStatus -from kubernetes_asyncio.client.models.v1_probe import V1Probe -from kubernetes_asyncio.client.models.v1_projected_volume_source import V1ProjectedVolumeSource -from kubernetes_asyncio.client.models.v1_queuing_configuration import V1QueuingConfiguration -from kubernetes_asyncio.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource -from kubernetes_asyncio.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_rbd_volume_source import V1RBDVolumeSource -from kubernetes_asyncio.client.models.v1_replica_set import V1ReplicaSet -from kubernetes_asyncio.client.models.v1_replica_set_condition import V1ReplicaSetCondition -from kubernetes_asyncio.client.models.v1_replica_set_list import V1ReplicaSetList -from kubernetes_asyncio.client.models.v1_replica_set_spec import V1ReplicaSetSpec -from kubernetes_asyncio.client.models.v1_replica_set_status import V1ReplicaSetStatus -from kubernetes_asyncio.client.models.v1_replication_controller import V1ReplicationController -from kubernetes_asyncio.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition -from kubernetes_asyncio.client.models.v1_replication_controller_list import V1ReplicationControllerList -from kubernetes_asyncio.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec -from kubernetes_asyncio.client.models.v1_replication_controller_status import V1ReplicationControllerStatus -from kubernetes_asyncio.client.models.v1_resource_attributes import V1ResourceAttributes -from kubernetes_asyncio.client.models.v1_resource_claim_consumer_reference import V1ResourceClaimConsumerReference -from kubernetes_asyncio.client.models.v1_resource_claim_list import V1ResourceClaimList -from kubernetes_asyncio.client.models.v1_resource_claim_spec import V1ResourceClaimSpec -from kubernetes_asyncio.client.models.v1_resource_claim_status import V1ResourceClaimStatus -from kubernetes_asyncio.client.models.v1_resource_claim_template import V1ResourceClaimTemplate -from kubernetes_asyncio.client.models.v1_resource_claim_template_list import V1ResourceClaimTemplateList -from kubernetes_asyncio.client.models.v1_resource_claim_template_spec import V1ResourceClaimTemplateSpec -from kubernetes_asyncio.client.models.v1_resource_field_selector import V1ResourceFieldSelector -from kubernetes_asyncio.client.models.v1_resource_health import V1ResourceHealth -from kubernetes_asyncio.client.models.v1_resource_policy_rule import V1ResourcePolicyRule -from kubernetes_asyncio.client.models.v1_resource_pool import V1ResourcePool -from kubernetes_asyncio.client.models.v1_resource_quota import V1ResourceQuota -from kubernetes_asyncio.client.models.v1_resource_quota_list import V1ResourceQuotaList -from kubernetes_asyncio.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec -from kubernetes_asyncio.client.models.v1_resource_quota_status import V1ResourceQuotaStatus -from kubernetes_asyncio.client.models.v1_resource_requirements import V1ResourceRequirements -from kubernetes_asyncio.client.models.v1_resource_rule import V1ResourceRule -from kubernetes_asyncio.client.models.v1_resource_slice import V1ResourceSlice -from kubernetes_asyncio.client.models.v1_resource_slice_list import V1ResourceSliceList -from kubernetes_asyncio.client.models.v1_resource_slice_spec import V1ResourceSliceSpec -from kubernetes_asyncio.client.models.v1_resource_status import V1ResourceStatus -from kubernetes_asyncio.client.models.v1_role import V1Role -from kubernetes_asyncio.client.models.v1_role_binding import V1RoleBinding -from kubernetes_asyncio.client.models.v1_role_binding_list import V1RoleBindingList -from kubernetes_asyncio.client.models.v1_role_list import V1RoleList -from kubernetes_asyncio.client.models.v1_role_ref import V1RoleRef -from kubernetes_asyncio.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet -from kubernetes_asyncio.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment -from kubernetes_asyncio.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy -from kubernetes_asyncio.client.models.v1_rule_with_operations import V1RuleWithOperations -from kubernetes_asyncio.client.models.v1_runtime_class import V1RuntimeClass -from kubernetes_asyncio.client.models.v1_runtime_class_list import V1RuntimeClassList -from kubernetes_asyncio.client.models.v1_se_linux_options import V1SELinuxOptions -from kubernetes_asyncio.client.models.v1_scale import V1Scale -from kubernetes_asyncio.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource -from kubernetes_asyncio.client.models.v1_scale_spec import V1ScaleSpec -from kubernetes_asyncio.client.models.v1_scale_status import V1ScaleStatus -from kubernetes_asyncio.client.models.v1_scheduling import V1Scheduling -from kubernetes_asyncio.client.models.v1_scope_selector import V1ScopeSelector -from kubernetes_asyncio.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement -from kubernetes_asyncio.client.models.v1_seccomp_profile import V1SeccompProfile -from kubernetes_asyncio.client.models.v1_secret import V1Secret -from kubernetes_asyncio.client.models.v1_secret_env_source import V1SecretEnvSource -from kubernetes_asyncio.client.models.v1_secret_key_selector import V1SecretKeySelector -from kubernetes_asyncio.client.models.v1_secret_list import V1SecretList -from kubernetes_asyncio.client.models.v1_secret_projection import V1SecretProjection -from kubernetes_asyncio.client.models.v1_secret_reference import V1SecretReference -from kubernetes_asyncio.client.models.v1_secret_volume_source import V1SecretVolumeSource -from kubernetes_asyncio.client.models.v1_security_context import V1SecurityContext -from kubernetes_asyncio.client.models.v1_selectable_field import V1SelectableField -from kubernetes_asyncio.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview -from kubernetes_asyncio.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec -from kubernetes_asyncio.client.models.v1_self_subject_review import V1SelfSubjectReview -from kubernetes_asyncio.client.models.v1_self_subject_review_status import V1SelfSubjectReviewStatus -from kubernetes_asyncio.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview -from kubernetes_asyncio.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec -from kubernetes_asyncio.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR -from kubernetes_asyncio.client.models.v1_service import V1Service -from kubernetes_asyncio.client.models.v1_service_account import V1ServiceAccount -from kubernetes_asyncio.client.models.v1_service_account_list import V1ServiceAccountList -from kubernetes_asyncio.client.models.v1_service_account_subject import V1ServiceAccountSubject -from kubernetes_asyncio.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection -from kubernetes_asyncio.client.models.v1_service_backend_port import V1ServiceBackendPort -from kubernetes_asyncio.client.models.v1_service_cidr import V1ServiceCIDR -from kubernetes_asyncio.client.models.v1_service_cidr_list import V1ServiceCIDRList -from kubernetes_asyncio.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec -from kubernetes_asyncio.client.models.v1_service_cidr_status import V1ServiceCIDRStatus -from kubernetes_asyncio.client.models.v1_service_list import V1ServiceList -from kubernetes_asyncio.client.models.v1_service_port import V1ServicePort -from kubernetes_asyncio.client.models.v1_service_spec import V1ServiceSpec -from kubernetes_asyncio.client.models.v1_service_status import V1ServiceStatus -from kubernetes_asyncio.client.models.v1_session_affinity_config import V1SessionAffinityConfig -from kubernetes_asyncio.client.models.v1_shard_info import V1ShardInfo -from kubernetes_asyncio.client.models.v1_sleep_action import V1SleepAction -from kubernetes_asyncio.client.models.v1_stateful_set import V1StatefulSet -from kubernetes_asyncio.client.models.v1_stateful_set_condition import V1StatefulSetCondition -from kubernetes_asyncio.client.models.v1_stateful_set_list import V1StatefulSetList -from kubernetes_asyncio.client.models.v1_stateful_set_ordinals import V1StatefulSetOrdinals -from kubernetes_asyncio.client.models.v1_stateful_set_persistent_volume_claim_retention_policy import V1StatefulSetPersistentVolumeClaimRetentionPolicy -from kubernetes_asyncio.client.models.v1_stateful_set_spec import V1StatefulSetSpec -from kubernetes_asyncio.client.models.v1_stateful_set_status import V1StatefulSetStatus -from kubernetes_asyncio.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy -from kubernetes_asyncio.client.models.v1_status import V1Status -from kubernetes_asyncio.client.models.v1_status_cause import V1StatusCause -from kubernetes_asyncio.client.models.v1_status_details import V1StatusDetails -from kubernetes_asyncio.client.models.v1_storage_class import V1StorageClass -from kubernetes_asyncio.client.models.v1_storage_class_list import V1StorageClassList -from kubernetes_asyncio.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource -from kubernetes_asyncio.client.models.v1_subject_access_review import V1SubjectAccessReview -from kubernetes_asyncio.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec -from kubernetes_asyncio.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus -from kubernetes_asyncio.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus -from kubernetes_asyncio.client.models.v1_success_policy import V1SuccessPolicy -from kubernetes_asyncio.client.models.v1_success_policy_rule import V1SuccessPolicyRule -from kubernetes_asyncio.client.models.v1_sysctl import V1Sysctl -from kubernetes_asyncio.client.models.v1_tcp_socket_action import V1TCPSocketAction -from kubernetes_asyncio.client.models.v1_taint import V1Taint -from kubernetes_asyncio.client.models.v1_token_request_spec import V1TokenRequestSpec -from kubernetes_asyncio.client.models.v1_token_request_status import V1TokenRequestStatus -from kubernetes_asyncio.client.models.v1_token_review import V1TokenReview -from kubernetes_asyncio.client.models.v1_token_review_spec import V1TokenReviewSpec -from kubernetes_asyncio.client.models.v1_token_review_status import V1TokenReviewStatus -from kubernetes_asyncio.client.models.v1_toleration import V1Toleration -from kubernetes_asyncio.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement -from kubernetes_asyncio.client.models.v1_topology_selector_term import V1TopologySelectorTerm -from kubernetes_asyncio.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint -from kubernetes_asyncio.client.models.v1_type_checking import V1TypeChecking -from kubernetes_asyncio.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference -from kubernetes_asyncio.client.models.v1_typed_object_reference import V1TypedObjectReference -from kubernetes_asyncio.client.models.v1_uncounted_terminated_pods import V1UncountedTerminatedPods -from kubernetes_asyncio.client.models.v1_user_info import V1UserInfo -from kubernetes_asyncio.client.models.v1_user_subject import V1UserSubject -from kubernetes_asyncio.client.models.v1_validating_admission_policy import V1ValidatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1_validating_admission_policy_binding import V1ValidatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1_validating_admission_policy_binding_list import V1ValidatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1_validating_admission_policy_binding_spec import V1ValidatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1_validating_admission_policy_list import V1ValidatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1_validating_admission_policy_spec import V1ValidatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1_validating_admission_policy_status import V1ValidatingAdmissionPolicyStatus -from kubernetes_asyncio.client.models.v1_validating_webhook import V1ValidatingWebhook -from kubernetes_asyncio.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration -from kubernetes_asyncio.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList -from kubernetes_asyncio.client.models.v1_validation import V1Validation -from kubernetes_asyncio.client.models.v1_validation_rule import V1ValidationRule -from kubernetes_asyncio.client.models.v1_variable import V1Variable -from kubernetes_asyncio.client.models.v1_volume import V1Volume -from kubernetes_asyncio.client.models.v1_volume_attachment import V1VolumeAttachment -from kubernetes_asyncio.client.models.v1_volume_attachment_list import V1VolumeAttachmentList -from kubernetes_asyncio.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource -from kubernetes_asyncio.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec -from kubernetes_asyncio.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus -from kubernetes_asyncio.client.models.v1_volume_attributes_class import V1VolumeAttributesClass -from kubernetes_asyncio.client.models.v1_volume_attributes_class_list import V1VolumeAttributesClassList -from kubernetes_asyncio.client.models.v1_volume_device import V1VolumeDevice -from kubernetes_asyncio.client.models.v1_volume_error import V1VolumeError -from kubernetes_asyncio.client.models.v1_volume_mount import V1VolumeMount -from kubernetes_asyncio.client.models.v1_volume_mount_status import V1VolumeMountStatus -from kubernetes_asyncio.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity -from kubernetes_asyncio.client.models.v1_volume_node_resources import V1VolumeNodeResources -from kubernetes_asyncio.client.models.v1_volume_projection import V1VolumeProjection -from kubernetes_asyncio.client.models.v1_volume_resource_requirements import V1VolumeResourceRequirements -from kubernetes_asyncio.client.models.v1_volume_status import V1VolumeStatus -from kubernetes_asyncio.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource -from kubernetes_asyncio.client.models.v1_watch_event import V1WatchEvent -from kubernetes_asyncio.client.models.v1_webhook_conversion import V1WebhookConversion -from kubernetes_asyncio.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm -from kubernetes_asyncio.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions -from kubernetes_asyncio.client.models.v1alpha1_apply_configuration import V1alpha1ApplyConfiguration -from kubernetes_asyncio.client.models.v1alpha1_cluster_trust_bundle import V1alpha1ClusterTrustBundle -from kubernetes_asyncio.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1ClusterTrustBundleList -from kubernetes_asyncio.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec -from kubernetes_asyncio.client.models.v1alpha1_json_patch import V1alpha1JSONPatch -from kubernetes_asyncio.client.models.v1alpha1_match_condition import V1alpha1MatchCondition -from kubernetes_asyncio.client.models.v1alpha1_match_resources import V1alpha1MatchResources -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy import V1alpha1MutatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding import V1alpha1MutatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding_list import V1alpha1MutatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding_spec import V1alpha1MutatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_list import V1alpha1MutatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_spec import V1alpha1MutatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1alpha1_mutation import V1alpha1Mutation -from kubernetes_asyncio.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations -from kubernetes_asyncio.client.models.v1alpha1_param_kind import V1alpha1ParamKind -from kubernetes_asyncio.client.models.v1alpha1_param_ref import V1alpha1ParamRef -from kubernetes_asyncio.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion -from kubernetes_asyncio.client.models.v1alpha1_storage_version import V1alpha1StorageVersion -from kubernetes_asyncio.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition -from kubernetes_asyncio.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList -from kubernetes_asyncio.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus -from kubernetes_asyncio.client.models.v1alpha1_variable import V1alpha1Variable -from kubernetes_asyncio.client.models.v1alpha2_gang_scheduling_policy import V1alpha2GangSchedulingPolicy -from kubernetes_asyncio.client.models.v1alpha2_lease_candidate import V1alpha2LeaseCandidate -from kubernetes_asyncio.client.models.v1alpha2_lease_candidate_list import V1alpha2LeaseCandidateList -from kubernetes_asyncio.client.models.v1alpha2_lease_candidate_spec import V1alpha2LeaseCandidateSpec -from kubernetes_asyncio.client.models.v1alpha2_pod_group import V1alpha2PodGroup -from kubernetes_asyncio.client.models.v1alpha2_pod_group_list import V1alpha2PodGroupList -from kubernetes_asyncio.client.models.v1alpha2_pod_group_resource_claim import V1alpha2PodGroupResourceClaim -from kubernetes_asyncio.client.models.v1alpha2_pod_group_resource_claim_status import V1alpha2PodGroupResourceClaimStatus -from kubernetes_asyncio.client.models.v1alpha2_pod_group_scheduling_constraints import V1alpha2PodGroupSchedulingConstraints -from kubernetes_asyncio.client.models.v1alpha2_pod_group_scheduling_policy import V1alpha2PodGroupSchedulingPolicy -from kubernetes_asyncio.client.models.v1alpha2_pod_group_spec import V1alpha2PodGroupSpec -from kubernetes_asyncio.client.models.v1alpha2_pod_group_status import V1alpha2PodGroupStatus -from kubernetes_asyncio.client.models.v1alpha2_pod_group_template import V1alpha2PodGroupTemplate -from kubernetes_asyncio.client.models.v1alpha2_pod_group_template_reference import V1alpha2PodGroupTemplateReference -from kubernetes_asyncio.client.models.v1alpha2_topology_constraint import V1alpha2TopologyConstraint -from kubernetes_asyncio.client.models.v1alpha2_typed_local_object_reference import V1alpha2TypedLocalObjectReference -from kubernetes_asyncio.client.models.v1alpha2_workload import V1alpha2Workload -from kubernetes_asyncio.client.models.v1alpha2_workload_list import V1alpha2WorkloadList -from kubernetes_asyncio.client.models.v1alpha2_workload_pod_group_template_reference import V1alpha2WorkloadPodGroupTemplateReference -from kubernetes_asyncio.client.models.v1alpha2_workload_spec import V1alpha2WorkloadSpec -from kubernetes_asyncio.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_status import V1alpha3DeviceTaintRuleStatus -from kubernetes_asyncio.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector -from kubernetes_asyncio.client.models.v1alpha3_pool_status import V1alpha3PoolStatus -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request import V1alpha3ResourcePoolStatusRequest -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request_list import V1alpha3ResourcePoolStatusRequestList -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request_spec import V1alpha3ResourcePoolStatusRequestSpec -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request_status import V1alpha3ResourcePoolStatusRequestStatus -from kubernetes_asyncio.client.models.v1beta1_allocated_device_status import V1beta1AllocatedDeviceStatus -from kubernetes_asyncio.client.models.v1beta1_allocation_result import V1beta1AllocationResult -from kubernetes_asyncio.client.models.v1beta1_apply_configuration import V1beta1ApplyConfiguration -from kubernetes_asyncio.client.models.v1beta1_basic_device import V1beta1BasicDevice -from kubernetes_asyncio.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector -from kubernetes_asyncio.client.models.v1beta1_capacity_request_policy import V1beta1CapacityRequestPolicy -from kubernetes_asyncio.client.models.v1beta1_capacity_request_policy_range import V1beta1CapacityRequestPolicyRange -from kubernetes_asyncio.client.models.v1beta1_capacity_requirements import V1beta1CapacityRequirements -from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle -from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList -from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec -from kubernetes_asyncio.client.models.v1beta1_counter import V1beta1Counter -from kubernetes_asyncio.client.models.v1beta1_counter_set import V1beta1CounterSet -from kubernetes_asyncio.client.models.v1beta1_device import V1beta1Device -from kubernetes_asyncio.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration -from kubernetes_asyncio.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult -from kubernetes_asyncio.client.models.v1beta1_device_attribute import V1beta1DeviceAttribute -from kubernetes_asyncio.client.models.v1beta1_device_capacity import V1beta1DeviceCapacity -from kubernetes_asyncio.client.models.v1beta1_device_claim import V1beta1DeviceClaim -from kubernetes_asyncio.client.models.v1beta1_device_claim_configuration import V1beta1DeviceClaimConfiguration -from kubernetes_asyncio.client.models.v1beta1_device_class import V1beta1DeviceClass -from kubernetes_asyncio.client.models.v1beta1_device_class_configuration import V1beta1DeviceClassConfiguration -from kubernetes_asyncio.client.models.v1beta1_device_class_list import V1beta1DeviceClassList -from kubernetes_asyncio.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec -from kubernetes_asyncio.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint -from kubernetes_asyncio.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption -from kubernetes_asyncio.client.models.v1beta1_device_request import V1beta1DeviceRequest -from kubernetes_asyncio.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult -from kubernetes_asyncio.client.models.v1beta1_device_selector import V1beta1DeviceSelector -from kubernetes_asyncio.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest -from kubernetes_asyncio.client.models.v1beta1_device_taint import V1beta1DeviceTaint -from kubernetes_asyncio.client.models.v1beta1_device_toleration import V1beta1DeviceToleration -from kubernetes_asyncio.client.models.v1beta1_ip_address import V1beta1IPAddress -from kubernetes_asyncio.client.models.v1beta1_ip_address_list import V1beta1IPAddressList -from kubernetes_asyncio.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec -from kubernetes_asyncio.client.models.v1beta1_json_patch import V1beta1JSONPatch -from kubernetes_asyncio.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate -from kubernetes_asyncio.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList -from kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec -from kubernetes_asyncio.client.models.v1beta1_match_condition import V1beta1MatchCondition -from kubernetes_asyncio.client.models.v1beta1_match_resources import V1beta1MatchResources -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy import V1beta1MutatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_binding import V1beta1MutatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_binding_list import V1beta1MutatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_binding_spec import V1beta1MutatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_list import V1beta1MutatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_spec import V1beta1MutatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1beta1_mutation import V1beta1Mutation -from kubernetes_asyncio.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations -from kubernetes_asyncio.client.models.v1beta1_network_device_data import V1beta1NetworkDeviceData -from kubernetes_asyncio.client.models.v1beta1_node_allocatable_resource_mapping import V1beta1NodeAllocatableResourceMapping -from kubernetes_asyncio.client.models.v1beta1_opaque_device_configuration import V1beta1OpaqueDeviceConfiguration -from kubernetes_asyncio.client.models.v1beta1_param_kind import V1beta1ParamKind -from kubernetes_asyncio.client.models.v1beta1_param_ref import V1beta1ParamRef -from kubernetes_asyncio.client.models.v1beta1_parent_reference import V1beta1ParentReference -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request import V1beta1PodCertificateRequest -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request_list import V1beta1PodCertificateRequestList -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request_spec import V1beta1PodCertificateRequestSpec -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request_status import V1beta1PodCertificateRequestStatus -from kubernetes_asyncio.client.models.v1beta1_resource_claim import V1beta1ResourceClaim -from kubernetes_asyncio.client.models.v1beta1_resource_claim_consumer_reference import V1beta1ResourceClaimConsumerReference -from kubernetes_asyncio.client.models.v1beta1_resource_claim_list import V1beta1ResourceClaimList -from kubernetes_asyncio.client.models.v1beta1_resource_claim_spec import V1beta1ResourceClaimSpec -from kubernetes_asyncio.client.models.v1beta1_resource_claim_status import V1beta1ResourceClaimStatus -from kubernetes_asyncio.client.models.v1beta1_resource_claim_template import V1beta1ResourceClaimTemplate -from kubernetes_asyncio.client.models.v1beta1_resource_claim_template_list import V1beta1ResourceClaimTemplateList -from kubernetes_asyncio.client.models.v1beta1_resource_claim_template_spec import V1beta1ResourceClaimTemplateSpec -from kubernetes_asyncio.client.models.v1beta1_resource_pool import V1beta1ResourcePool -from kubernetes_asyncio.client.models.v1beta1_resource_slice import V1beta1ResourceSlice -from kubernetes_asyncio.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList -from kubernetes_asyncio.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec -from kubernetes_asyncio.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR -from kubernetes_asyncio.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList -from kubernetes_asyncio.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec -from kubernetes_asyncio.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration import V1beta1StorageVersionMigration -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration_list import V1beta1StorageVersionMigrationList -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration_spec import V1beta1StorageVersionMigrationSpec -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration_status import V1beta1StorageVersionMigrationStatus -from kubernetes_asyncio.client.models.v1beta1_variable import V1beta1Variable -from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass -from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList -from kubernetes_asyncio.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus -from kubernetes_asyncio.client.models.v1beta2_allocation_result import V1beta2AllocationResult -from kubernetes_asyncio.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector -from kubernetes_asyncio.client.models.v1beta2_capacity_request_policy import V1beta2CapacityRequestPolicy -from kubernetes_asyncio.client.models.v1beta2_capacity_request_policy_range import V1beta2CapacityRequestPolicyRange -from kubernetes_asyncio.client.models.v1beta2_capacity_requirements import V1beta2CapacityRequirements -from kubernetes_asyncio.client.models.v1beta2_counter import V1beta2Counter -from kubernetes_asyncio.client.models.v1beta2_counter_set import V1beta2CounterSet -from kubernetes_asyncio.client.models.v1beta2_device import V1beta2Device -from kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration -from kubernetes_asyncio.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult -from kubernetes_asyncio.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute -from kubernetes_asyncio.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity -from kubernetes_asyncio.client.models.v1beta2_device_claim import V1beta2DeviceClaim -from kubernetes_asyncio.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration -from kubernetes_asyncio.client.models.v1beta2_device_class import V1beta2DeviceClass -from kubernetes_asyncio.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration -from kubernetes_asyncio.client.models.v1beta2_device_class_list import V1beta2DeviceClassList -from kubernetes_asyncio.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec -from kubernetes_asyncio.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint -from kubernetes_asyncio.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption -from kubernetes_asyncio.client.models.v1beta2_device_request import V1beta2DeviceRequest -from kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult -from kubernetes_asyncio.client.models.v1beta2_device_selector import V1beta2DeviceSelector -from kubernetes_asyncio.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest -from kubernetes_asyncio.client.models.v1beta2_device_taint import V1beta2DeviceTaint -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule import V1beta2DeviceTaintRule -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule_list import V1beta2DeviceTaintRuleList -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule_spec import V1beta2DeviceTaintRuleSpec -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule_status import V1beta2DeviceTaintRuleStatus -from kubernetes_asyncio.client.models.v1beta2_device_taint_selector import V1beta2DeviceTaintSelector -from kubernetes_asyncio.client.models.v1beta2_device_toleration import V1beta2DeviceToleration -from kubernetes_asyncio.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest -from kubernetes_asyncio.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData -from kubernetes_asyncio.client.models.v1beta2_node_allocatable_resource_mapping import V1beta2NodeAllocatableResourceMapping -from kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration -from kubernetes_asyncio.client.models.v1beta2_resource_claim import V1beta2ResourceClaim -from kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference -from kubernetes_asyncio.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList -from kubernetes_asyncio.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec -from kubernetes_asyncio.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus -from kubernetes_asyncio.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate -from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList -from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec -from kubernetes_asyncio.client.models.v1beta2_resource_pool import V1beta2ResourcePool -from kubernetes_asyncio.client.models.v1beta2_resource_slice import V1beta2ResourceSlice -from kubernetes_asyncio.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList -from kubernetes_asyncio.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec -from kubernetes_asyncio.client.models.v2_api_group_discovery import V2APIGroupDiscovery -from kubernetes_asyncio.client.models.v2_api_group_discovery_list import V2APIGroupDiscoveryList -from kubernetes_asyncio.client.models.v2_api_resource_discovery import V2APIResourceDiscovery -from kubernetes_asyncio.client.models.v2_api_subresource_discovery import V2APISubresourceDiscovery -from kubernetes_asyncio.client.models.v2_api_version_discovery import V2APIVersionDiscovery -from kubernetes_asyncio.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource -from kubernetes_asyncio.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus -from kubernetes_asyncio.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference -from kubernetes_asyncio.client.models.v2_external_metric_source import V2ExternalMetricSource -from kubernetes_asyncio.client.models.v2_external_metric_status import V2ExternalMetricStatus -from kubernetes_asyncio.client.models.v2_hpa_scaling_policy import V2HPAScalingPolicy -from kubernetes_asyncio.client.models.v2_hpa_scaling_rules import V2HPAScalingRules -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler import V2HorizontalPodAutoscaler -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_condition import V2HorizontalPodAutoscalerCondition -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_list import V2HorizontalPodAutoscalerList -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_spec import V2HorizontalPodAutoscalerSpec -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_status import V2HorizontalPodAutoscalerStatus -from kubernetes_asyncio.client.models.v2_metric_identifier import V2MetricIdentifier -from kubernetes_asyncio.client.models.v2_metric_spec import V2MetricSpec -from kubernetes_asyncio.client.models.v2_metric_status import V2MetricStatus -from kubernetes_asyncio.client.models.v2_metric_target import V2MetricTarget -from kubernetes_asyncio.client.models.v2_metric_value_status import V2MetricValueStatus -from kubernetes_asyncio.client.models.v2_object_metric_source import V2ObjectMetricSource -from kubernetes_asyncio.client.models.v2_object_metric_status import V2ObjectMetricStatus -from kubernetes_asyncio.client.models.v2_pods_metric_source import V2PodsMetricSource -from kubernetes_asyncio.client.models.v2_pods_metric_status import V2PodsMetricStatus -from kubernetes_asyncio.client.models.v2_resource_metric_source import V2ResourceMetricSource -from kubernetes_asyncio.client.models.v2_resource_metric_status import V2ResourceMetricStatus -from kubernetes_asyncio.client.models.v2beta1_api_group_discovery import V2beta1APIGroupDiscovery -from kubernetes_asyncio.client.models.v2beta1_api_group_discovery_list import V2beta1APIGroupDiscoveryList -from kubernetes_asyncio.client.models.v2beta1_api_resource_discovery import V2beta1APIResourceDiscovery -from kubernetes_asyncio.client.models.v2beta1_api_subresource_discovery import V2beta1APISubresourceDiscovery -from kubernetes_asyncio.client.models.v2beta1_api_version_discovery import V2beta1APIVersionDiscovery -from kubernetes_asyncio.client.models.version_info import VersionInfo - diff --git a/kubernetes_asyncio/client/api/__init__.py b/kubernetes_asyncio/client/api/__init__.py deleted file mode 100644 index 6085ddadef..0000000000 --- a/kubernetes_asyncio/client/api/__init__.py +++ /dev/null @@ -1,70 +0,0 @@ -from __future__ import absolute_import - -# flake8: noqa - -# import apis into api package -from kubernetes_asyncio.client.api.well_known_api import WellKnownApi -from kubernetes_asyncio.client.api.admissionregistration_api import AdmissionregistrationApi -from kubernetes_asyncio.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api -from kubernetes_asyncio.client.api.admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api -from kubernetes_asyncio.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api -from kubernetes_asyncio.client.api.apiextensions_api import ApiextensionsApi -from kubernetes_asyncio.client.api.apiextensions_v1_api import ApiextensionsV1Api -from kubernetes_asyncio.client.api.apiregistration_api import ApiregistrationApi -from kubernetes_asyncio.client.api.apiregistration_v1_api import ApiregistrationV1Api -from kubernetes_asyncio.client.api.apis_api import ApisApi -from kubernetes_asyncio.client.api.apps_api import AppsApi -from kubernetes_asyncio.client.api.apps_v1_api import AppsV1Api -from kubernetes_asyncio.client.api.authentication_api import AuthenticationApi -from kubernetes_asyncio.client.api.authentication_v1_api import AuthenticationV1Api -from kubernetes_asyncio.client.api.authorization_api import AuthorizationApi -from kubernetes_asyncio.client.api.authorization_v1_api import AuthorizationV1Api -from kubernetes_asyncio.client.api.autoscaling_api import AutoscalingApi -from kubernetes_asyncio.client.api.autoscaling_v1_api import AutoscalingV1Api -from kubernetes_asyncio.client.api.autoscaling_v2_api import AutoscalingV2Api -from kubernetes_asyncio.client.api.batch_api import BatchApi -from kubernetes_asyncio.client.api.batch_v1_api import BatchV1Api -from kubernetes_asyncio.client.api.certificates_api import CertificatesApi -from kubernetes_asyncio.client.api.certificates_v1_api import CertificatesV1Api -from kubernetes_asyncio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api -from kubernetes_asyncio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api -from kubernetes_asyncio.client.api.coordination_api import CoordinationApi -from kubernetes_asyncio.client.api.coordination_v1_api import CoordinationV1Api -from kubernetes_asyncio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api -from kubernetes_asyncio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api -from kubernetes_asyncio.client.api.core_api import CoreApi -from kubernetes_asyncio.client.api.core_v1_api import CoreV1Api -from kubernetes_asyncio.client.api.custom_objects_api import CustomObjectsApi -from kubernetes_asyncio.client.api.discovery_api import DiscoveryApi -from kubernetes_asyncio.client.api.discovery_v1_api import DiscoveryV1Api -from kubernetes_asyncio.client.api.events_api import EventsApi -from kubernetes_asyncio.client.api.events_v1_api import EventsV1Api -from kubernetes_asyncio.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi -from kubernetes_asyncio.client.api.flowcontrol_apiserver_v1_api import FlowcontrolApiserverV1Api -from kubernetes_asyncio.client.api.internal_apiserver_api import InternalApiserverApi -from kubernetes_asyncio.client.api.internal_apiserver_v1alpha1_api import InternalApiserverV1alpha1Api -from kubernetes_asyncio.client.api.logs_api import LogsApi -from kubernetes_asyncio.client.api.networking_api import NetworkingApi -from kubernetes_asyncio.client.api.networking_v1_api import NetworkingV1Api -from kubernetes_asyncio.client.api.networking_v1beta1_api import NetworkingV1beta1Api -from kubernetes_asyncio.client.api.node_api import NodeApi -from kubernetes_asyncio.client.api.node_v1_api import NodeV1Api -from kubernetes_asyncio.client.api.openid_api import OpenidApi -from kubernetes_asyncio.client.api.policy_api import PolicyApi -from kubernetes_asyncio.client.api.policy_v1_api import PolicyV1Api -from kubernetes_asyncio.client.api.rbac_authorization_api import RbacAuthorizationApi -from kubernetes_asyncio.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api -from kubernetes_asyncio.client.api.resource_api import ResourceApi -from kubernetes_asyncio.client.api.resource_v1_api import ResourceV1Api -from kubernetes_asyncio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api -from kubernetes_asyncio.client.api.resource_v1beta1_api import ResourceV1beta1Api -from kubernetes_asyncio.client.api.resource_v1beta2_api import ResourceV1beta2Api -from kubernetes_asyncio.client.api.scheduling_api import SchedulingApi -from kubernetes_asyncio.client.api.scheduling_v1_api import SchedulingV1Api -from kubernetes_asyncio.client.api.scheduling_v1alpha2_api import SchedulingV1alpha2Api -from kubernetes_asyncio.client.api.storage_api import StorageApi -from kubernetes_asyncio.client.api.storage_v1_api import StorageV1Api -from kubernetes_asyncio.client.api.storage_v1beta1_api import StorageV1beta1Api -from kubernetes_asyncio.client.api.storagemigration_api import StoragemigrationApi -from kubernetes_asyncio.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api -from kubernetes_asyncio.client.api.version_api import VersionApi diff --git a/kubernetes_asyncio/client/api/scheduling_v1alpha1_api.py b/kubernetes_asyncio/client/api/scheduling_v1alpha1_api.py deleted file mode 100644 index a71a354899..0000000000 --- a/kubernetes_asyncio/client/api/scheduling_v1alpha1_api.py +++ /dev/null @@ -1,1748 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.35 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from kubernetes_asyncio.client.api_client import ApiClient -from kubernetes_asyncio.client.exceptions import ( # noqa: F401 - ApiTypeError, - ApiValueError -) - - -class SchedulingV1alpha1Api(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_namespaced_workload(self, namespace, body, **kwargs): # noqa: E501 - """create_namespaced_workload # noqa: E501 - - create a Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_namespaced_workload(namespace, body, async_req=True) - >>> result = thread.get() - - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: V1alpha1Workload - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1alpha1Workload - """ - kwargs['_return_http_data_only'] = True - return self.create_namespaced_workload_with_http_info(namespace, body, **kwargs) # noqa: E501 - - def create_namespaced_workload_with_http_info(self, namespace, body, **kwargs): # noqa: E501 - """create_namespaced_workload # noqa: E501 - - create a Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_namespaced_workload_with_http_info(namespace, body, async_req=True) - >>> result = thread.get() - - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: V1alpha1Workload - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method create_namespaced_workload" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and local_var_params.get('namespace') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `create_namespaced_workload`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and local_var_params.get('body') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `create_namespaced_workload`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if local_var_params.get('dry_run') is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if local_var_params.get('field_manager') is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if local_var_params.get('field_validation') is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1alpha1Workload", - 201: "V1alpha1Workload", - 202: "V1alpha1Workload", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def delete_collection_namespaced_workload(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_workload # noqa: E501 - - delete collection of Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_collection_namespaced_workload(namespace, async_req=True) - >>> result = thread.get() - - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param 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. - :type grace_period_seconds: int - :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - :type ignore_store_read_error_with_cluster_breaking_potential: bool - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :type orphan_dependents: bool - :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :type propagation_policy: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param body: - :type body: V1DeleteOptions - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1Status - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_workload_with_http_info(namespace, **kwargs) # noqa: E501 - - def delete_collection_namespaced_workload_with_http_info(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_workload # noqa: E501 - - delete collection of Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_collection_namespaced_workload_with_http_info(namespace, async_req=True) - >>> result = thread.get() - - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param 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. - :type grace_period_seconds: int - :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - :type ignore_store_read_error_with_cluster_breaking_potential: bool - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :type orphan_dependents: bool - :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :type propagation_policy: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param body: - :type body: V1DeleteOptions - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - 'ignore_store_read_error_with_cluster_breaking_potential', - 'label_selector', - 'limit', - 'orphan_dependents', - 'propagation_policy', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'body' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_workload" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and local_var_params.get('namespace') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_workload`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if local_var_params.get('_continue') is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if local_var_params.get('dry_run') is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if local_var_params.get('field_selector') is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if local_var_params.get('grace_period_seconds') is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if local_var_params.get('ignore_store_read_error_with_cluster_breaking_potential') is not None: # noqa: E501 - query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 - if local_var_params.get('label_selector') is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if local_var_params.get('limit') is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if local_var_params.get('orphan_dependents') is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if local_var_params.get('propagation_policy') is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - if local_var_params.get('resource_version') is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if local_var_params.get('resource_version_match') is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if local_var_params.get('send_initial_events') is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if local_var_params.get('timeout_seconds') is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1Status", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def delete_namespaced_workload(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_workload # noqa: E501 - - delete a Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_namespaced_workload(name, namespace, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param 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. - :type grace_period_seconds: int - :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - :type ignore_store_read_error_with_cluster_breaking_potential: bool - :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :type orphan_dependents: bool - :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :type propagation_policy: str - :param body: - :type body: V1DeleteOptions - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1Status - """ - kwargs['_return_http_data_only'] = True - return self.delete_namespaced_workload_with_http_info(name, namespace, **kwargs) # noqa: E501 - - def delete_namespaced_workload_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_workload # noqa: E501 - - delete a Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_namespaced_workload_with_http_info(name, namespace, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param 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. - :type grace_period_seconds: int - :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - :type ignore_store_read_error_with_cluster_breaking_potential: bool - :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :type orphan_dependents: bool - :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :type propagation_policy: str - :param body: - :type body: V1DeleteOptions - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty', - 'dry_run', - 'grace_period_seconds', - 'ignore_store_read_error_with_cluster_breaking_potential', - 'orphan_dependents', - 'propagation_policy', - 'body' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_workload" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'name' is set - if self.api_client.client_side_validation and local_var_params.get('name') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_namespaced_workload`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and local_var_params.get('namespace') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `delete_namespaced_workload`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if local_var_params.get('dry_run') is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if local_var_params.get('grace_period_seconds') is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if local_var_params.get('ignore_store_read_error_with_cluster_breaking_potential') is not None: # noqa: E501 - query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 - if local_var_params.get('orphan_dependents') is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if local_var_params.get('propagation_policy') is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1Status", - 202: "V1Status", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def get_api_resources(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 - - get available resources # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_api_resources(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1APIResourceList - """ - kwargs['_return_http_data_only'] = True - return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 - - def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 - - get available resources # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_api_resources_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_api_resources" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - 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/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1APIResourceList", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def list_namespaced_workload(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_workload # noqa: E501 - - list or watch objects of kind Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_namespaced_workload(namespace, async_req=True) - >>> result = thread.get() - - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1alpha1WorkloadList - """ - kwargs['_return_http_data_only'] = True - return self.list_namespaced_workload_with_http_info(namespace, **kwargs) # noqa: E501 - - def list_namespaced_workload_with_http_info(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_workload # noqa: E501 - - list or watch objects of kind Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_namespaced_workload_with_http_info(namespace, async_req=True) - >>> result = thread.get() - - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1alpha1WorkloadList, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_namespaced_workload" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and local_var_params.get('namespace') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `list_namespaced_workload`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if local_var_params.get('allow_watch_bookmarks') is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if local_var_params.get('_continue') is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if local_var_params.get('field_selector') is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if local_var_params.get('label_selector') is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if local_var_params.get('limit') is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if local_var_params.get('resource_version') is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if local_var_params.get('resource_version_match') is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if local_var_params.get('send_initial_events') is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if local_var_params.get('timeout_seconds') is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if local_var_params.get('watch') is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - 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/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1alpha1WorkloadList", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def list_workload_for_all_namespaces(self, **kwargs): # noqa: E501 - """list_workload_for_all_namespaces # noqa: E501 - - list or watch objects of kind Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_workload_for_all_namespaces(async_req=True) - >>> result = thread.get() - - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1alpha1WorkloadList - """ - kwargs['_return_http_data_only'] = True - return self.list_workload_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 - - def list_workload_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 - """list_workload_for_all_namespaces # noqa: E501 - - list or watch objects of kind Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_workload_for_all_namespaces_with_http_info(async_req=True) - >>> result = thread.get() - - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1alpha1WorkloadList, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'pretty', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workload_for_all_namespaces" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if local_var_params.get('allow_watch_bookmarks') is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if local_var_params.get('_continue') is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if local_var_params.get('field_selector') is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if local_var_params.get('label_selector') is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if local_var_params.get('limit') is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if local_var_params.get('resource_version') is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if local_var_params.get('resource_version_match') is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if local_var_params.get('send_initial_events') is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if local_var_params.get('timeout_seconds') is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if local_var_params.get('watch') is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - 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/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1alpha1WorkloadList", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/workloads', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def patch_namespaced_workload(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_workload # noqa: E501 - - partially update the specified Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.patch_namespaced_workload(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: object - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1alpha1Workload - """ - kwargs['_return_http_data_only'] = True - return self.patch_namespaced_workload_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - - def patch_namespaced_workload_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_workload # noqa: E501 - - partially update the specified Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.patch_namespaced_workload_with_http_info(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: object - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_workload" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'name' is set - if self.api_client.client_side_validation and local_var_params.get('name') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `patch_namespaced_workload`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and local_var_params.get('namespace') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `patch_namespaced_workload`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and local_var_params.get('body') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `patch_namespaced_workload`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if local_var_params.get('dry_run') is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if local_var_params.get('field_manager') is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if local_var_params.get('field_validation') is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - if local_var_params.get('force') is not None: # noqa: E501 - query_params.append(('force', local_var_params['force'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # HTTP header `Content-Type` - content_types_list = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], - 'PATCH', body_params)) # noqa: E501 - if content_types_list: - header_params['Content-Type'] = content_types_list - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1alpha1Workload", - 201: "V1alpha1Workload", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def read_namespaced_workload(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_workload # noqa: E501 - - read the specified Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.read_namespaced_workload(name, namespace, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1alpha1Workload - """ - kwargs['_return_http_data_only'] = True - return self.read_namespaced_workload_with_http_info(name, namespace, **kwargs) # noqa: E501 - - def read_namespaced_workload_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_workload # noqa: E501 - - read the specified Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.read_namespaced_workload_with_http_info(name, namespace, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method read_namespaced_workload" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'name' is set - if self.api_client.client_side_validation and local_var_params.get('name') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_workload`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and local_var_params.get('namespace') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `read_namespaced_workload`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - 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/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1alpha1Workload", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def replace_namespaced_workload(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_workload # noqa: E501 - - replace the specified Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.replace_namespaced_workload(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: V1alpha1Workload - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: V1alpha1Workload - """ - kwargs['_return_http_data_only'] = True - return self.replace_namespaced_workload_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - - def replace_namespaced_workload_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_workload # noqa: E501 - - replace the specified Workload # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.replace_namespaced_workload_with_http_info(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param name: name of the Workload (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: V1alpha1Workload - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_workload" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'name' is set - if self.api_client.client_side_validation and local_var_params.get('name') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_workload`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and local_var_params.get('namespace') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `replace_namespaced_workload`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and local_var_params.get('body') is None: # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_workload`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if local_var_params.get('pretty') is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if local_var_params.get('dry_run') is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if local_var_params.get('field_manager') is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if local_var_params.get('field_validation') is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - response_types_map = { - 200: "V1alpha1Workload", - 201: "V1alpha1Workload", - 401: None, - } - - return self.api_client.call_api( - '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) diff --git a/kubernetes_asyncio/client/models/__init__.py b/kubernetes_asyncio/client/models/__init__.py deleted file mode 100644 index 3cb10ae30a..0000000000 --- a/kubernetes_asyncio/client/models/__init__.py +++ /dev/null @@ -1,783 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.36 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -# import models into model package -from kubernetes_asyncio.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference -from kubernetes_asyncio.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig -from kubernetes_asyncio.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference -from kubernetes_asyncio.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig -from kubernetes_asyncio.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference -from kubernetes_asyncio.client.models.authentication_v1_token_request import AuthenticationV1TokenRequest -from kubernetes_asyncio.client.models.core_v1_endpoint_port import CoreV1EndpointPort -from kubernetes_asyncio.client.models.core_v1_event import CoreV1Event -from kubernetes_asyncio.client.models.core_v1_event_list import CoreV1EventList -from kubernetes_asyncio.client.models.core_v1_event_series import CoreV1EventSeries -from kubernetes_asyncio.client.models.core_v1_resource_claim import CoreV1ResourceClaim -from kubernetes_asyncio.client.models.discovery_v1_endpoint_port import DiscoveryV1EndpointPort -from kubernetes_asyncio.client.models.events_v1_event import EventsV1Event -from kubernetes_asyncio.client.models.events_v1_event_list import EventsV1EventList -from kubernetes_asyncio.client.models.events_v1_event_series import EventsV1EventSeries -from kubernetes_asyncio.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject -from kubernetes_asyncio.client.models.rbac_v1_subject import RbacV1Subject -from kubernetes_asyncio.client.models.resource_v1_resource_claim import ResourceV1ResourceClaim -from kubernetes_asyncio.client.models.storage_v1_token_request import StorageV1TokenRequest -from kubernetes_asyncio.client.models.v1_api_group import V1APIGroup -from kubernetes_asyncio.client.models.v1_api_group_list import V1APIGroupList -from kubernetes_asyncio.client.models.v1_api_resource import V1APIResource -from kubernetes_asyncio.client.models.v1_api_resource_list import V1APIResourceList -from kubernetes_asyncio.client.models.v1_api_service import V1APIService -from kubernetes_asyncio.client.models.v1_api_service_condition import V1APIServiceCondition -from kubernetes_asyncio.client.models.v1_api_service_list import V1APIServiceList -from kubernetes_asyncio.client.models.v1_api_service_spec import V1APIServiceSpec -from kubernetes_asyncio.client.models.v1_api_service_status import V1APIServiceStatus -from kubernetes_asyncio.client.models.v1_api_versions import V1APIVersions -from kubernetes_asyncio.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource -from kubernetes_asyncio.client.models.v1_affinity import V1Affinity -from kubernetes_asyncio.client.models.v1_aggregation_rule import V1AggregationRule -from kubernetes_asyncio.client.models.v1_allocated_device_status import V1AllocatedDeviceStatus -from kubernetes_asyncio.client.models.v1_allocation_result import V1AllocationResult -from kubernetes_asyncio.client.models.v1_app_armor_profile import V1AppArmorProfile -from kubernetes_asyncio.client.models.v1_apply_configuration import V1ApplyConfiguration -from kubernetes_asyncio.client.models.v1_attached_volume import V1AttachedVolume -from kubernetes_asyncio.client.models.v1_audit_annotation import V1AuditAnnotation -from kubernetes_asyncio.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource -from kubernetes_asyncio.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource -from kubernetes_asyncio.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource -from kubernetes_asyncio.client.models.v1_binding import V1Binding -from kubernetes_asyncio.client.models.v1_bound_object_reference import V1BoundObjectReference -from kubernetes_asyncio.client.models.v1_cel_device_selector import V1CELDeviceSelector -from kubernetes_asyncio.client.models.v1_csi_driver import V1CSIDriver -from kubernetes_asyncio.client.models.v1_csi_driver_list import V1CSIDriverList -from kubernetes_asyncio.client.models.v1_csi_driver_spec import V1CSIDriverSpec -from kubernetes_asyncio.client.models.v1_csi_node import V1CSINode -from kubernetes_asyncio.client.models.v1_csi_node_driver import V1CSINodeDriver -from kubernetes_asyncio.client.models.v1_csi_node_list import V1CSINodeList -from kubernetes_asyncio.client.models.v1_csi_node_spec import V1CSINodeSpec -from kubernetes_asyncio.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_csi_storage_capacity import V1CSIStorageCapacity -from kubernetes_asyncio.client.models.v1_csi_storage_capacity_list import V1CSIStorageCapacityList -from kubernetes_asyncio.client.models.v1_csi_volume_source import V1CSIVolumeSource -from kubernetes_asyncio.client.models.v1_capabilities import V1Capabilities -from kubernetes_asyncio.client.models.v1_capacity_request_policy import V1CapacityRequestPolicy -from kubernetes_asyncio.client.models.v1_capacity_request_policy_range import V1CapacityRequestPolicyRange -from kubernetes_asyncio.client.models.v1_capacity_requirements import V1CapacityRequirements -from kubernetes_asyncio.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource -from kubernetes_asyncio.client.models.v1_certificate_signing_request import V1CertificateSigningRequest -from kubernetes_asyncio.client.models.v1_certificate_signing_request_condition import V1CertificateSigningRequestCondition -from kubernetes_asyncio.client.models.v1_certificate_signing_request_list import V1CertificateSigningRequestList -from kubernetes_asyncio.client.models.v1_certificate_signing_request_spec import V1CertificateSigningRequestSpec -from kubernetes_asyncio.client.models.v1_certificate_signing_request_status import V1CertificateSigningRequestStatus -from kubernetes_asyncio.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_cinder_volume_source import V1CinderVolumeSource -from kubernetes_asyncio.client.models.v1_client_ip_config import V1ClientIPConfig -from kubernetes_asyncio.client.models.v1_cluster_role import V1ClusterRole -from kubernetes_asyncio.client.models.v1_cluster_role_binding import V1ClusterRoleBinding -from kubernetes_asyncio.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList -from kubernetes_asyncio.client.models.v1_cluster_role_list import V1ClusterRoleList -from kubernetes_asyncio.client.models.v1_cluster_trust_bundle_projection import V1ClusterTrustBundleProjection -from kubernetes_asyncio.client.models.v1_component_condition import V1ComponentCondition -from kubernetes_asyncio.client.models.v1_component_status import V1ComponentStatus -from kubernetes_asyncio.client.models.v1_component_status_list import V1ComponentStatusList -from kubernetes_asyncio.client.models.v1_condition import V1Condition -from kubernetes_asyncio.client.models.v1_config_map import V1ConfigMap -from kubernetes_asyncio.client.models.v1_config_map_env_source import V1ConfigMapEnvSource -from kubernetes_asyncio.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector -from kubernetes_asyncio.client.models.v1_config_map_list import V1ConfigMapList -from kubernetes_asyncio.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource -from kubernetes_asyncio.client.models.v1_config_map_projection import V1ConfigMapProjection -from kubernetes_asyncio.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource -from kubernetes_asyncio.client.models.v1_container import V1Container -from kubernetes_asyncio.client.models.v1_container_extended_resource_request import V1ContainerExtendedResourceRequest -from kubernetes_asyncio.client.models.v1_container_image import V1ContainerImage -from kubernetes_asyncio.client.models.v1_container_port import V1ContainerPort -from kubernetes_asyncio.client.models.v1_container_resize_policy import V1ContainerResizePolicy -from kubernetes_asyncio.client.models.v1_container_restart_rule import V1ContainerRestartRule -from kubernetes_asyncio.client.models.v1_container_restart_rule_on_exit_codes import V1ContainerRestartRuleOnExitCodes -from kubernetes_asyncio.client.models.v1_container_state import V1ContainerState -from kubernetes_asyncio.client.models.v1_container_state_running import V1ContainerStateRunning -from kubernetes_asyncio.client.models.v1_container_state_terminated import V1ContainerStateTerminated -from kubernetes_asyncio.client.models.v1_container_state_waiting import V1ContainerStateWaiting -from kubernetes_asyncio.client.models.v1_container_status import V1ContainerStatus -from kubernetes_asyncio.client.models.v1_container_user import V1ContainerUser -from kubernetes_asyncio.client.models.v1_controller_revision import V1ControllerRevision -from kubernetes_asyncio.client.models.v1_controller_revision_list import V1ControllerRevisionList -from kubernetes_asyncio.client.models.v1_counter import V1Counter -from kubernetes_asyncio.client.models.v1_counter_set import V1CounterSet -from kubernetes_asyncio.client.models.v1_cron_job import V1CronJob -from kubernetes_asyncio.client.models.v1_cron_job_list import V1CronJobList -from kubernetes_asyncio.client.models.v1_cron_job_spec import V1CronJobSpec -from kubernetes_asyncio.client.models.v1_cron_job_status import V1CronJobStatus -from kubernetes_asyncio.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference -from kubernetes_asyncio.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition -from kubernetes_asyncio.client.models.v1_custom_resource_conversion import V1CustomResourceConversion -from kubernetes_asyncio.client.models.v1_custom_resource_definition import V1CustomResourceDefinition -from kubernetes_asyncio.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition -from kubernetes_asyncio.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList -from kubernetes_asyncio.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames -from kubernetes_asyncio.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec -from kubernetes_asyncio.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus -from kubernetes_asyncio.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion -from kubernetes_asyncio.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale -from kubernetes_asyncio.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources -from kubernetes_asyncio.client.models.v1_custom_resource_validation import V1CustomResourceValidation -from kubernetes_asyncio.client.models.v1_daemon_endpoint import V1DaemonEndpoint -from kubernetes_asyncio.client.models.v1_daemon_set import V1DaemonSet -from kubernetes_asyncio.client.models.v1_daemon_set_condition import V1DaemonSetCondition -from kubernetes_asyncio.client.models.v1_daemon_set_list import V1DaemonSetList -from kubernetes_asyncio.client.models.v1_daemon_set_spec import V1DaemonSetSpec -from kubernetes_asyncio.client.models.v1_daemon_set_status import V1DaemonSetStatus -from kubernetes_asyncio.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy -from kubernetes_asyncio.client.models.v1_delete_options import V1DeleteOptions -from kubernetes_asyncio.client.models.v1_deployment import V1Deployment -from kubernetes_asyncio.client.models.v1_deployment_condition import V1DeploymentCondition -from kubernetes_asyncio.client.models.v1_deployment_list import V1DeploymentList -from kubernetes_asyncio.client.models.v1_deployment_spec import V1DeploymentSpec -from kubernetes_asyncio.client.models.v1_deployment_status import V1DeploymentStatus -from kubernetes_asyncio.client.models.v1_deployment_strategy import V1DeploymentStrategy -from kubernetes_asyncio.client.models.v1_device import V1Device -from kubernetes_asyncio.client.models.v1_device_allocation_configuration import V1DeviceAllocationConfiguration -from kubernetes_asyncio.client.models.v1_device_allocation_result import V1DeviceAllocationResult -from kubernetes_asyncio.client.models.v1_device_attribute import V1DeviceAttribute -from kubernetes_asyncio.client.models.v1_device_capacity import V1DeviceCapacity -from kubernetes_asyncio.client.models.v1_device_claim import V1DeviceClaim -from kubernetes_asyncio.client.models.v1_device_claim_configuration import V1DeviceClaimConfiguration -from kubernetes_asyncio.client.models.v1_device_class import V1DeviceClass -from kubernetes_asyncio.client.models.v1_device_class_configuration import V1DeviceClassConfiguration -from kubernetes_asyncio.client.models.v1_device_class_list import V1DeviceClassList -from kubernetes_asyncio.client.models.v1_device_class_spec import V1DeviceClassSpec -from kubernetes_asyncio.client.models.v1_device_constraint import V1DeviceConstraint -from kubernetes_asyncio.client.models.v1_device_counter_consumption import V1DeviceCounterConsumption -from kubernetes_asyncio.client.models.v1_device_request import V1DeviceRequest -from kubernetes_asyncio.client.models.v1_device_request_allocation_result import V1DeviceRequestAllocationResult -from kubernetes_asyncio.client.models.v1_device_selector import V1DeviceSelector -from kubernetes_asyncio.client.models.v1_device_sub_request import V1DeviceSubRequest -from kubernetes_asyncio.client.models.v1_device_taint import V1DeviceTaint -from kubernetes_asyncio.client.models.v1_device_toleration import V1DeviceToleration -from kubernetes_asyncio.client.models.v1_downward_api_projection import V1DownwardAPIProjection -from kubernetes_asyncio.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile -from kubernetes_asyncio.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource -from kubernetes_asyncio.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource -from kubernetes_asyncio.client.models.v1_endpoint import V1Endpoint -from kubernetes_asyncio.client.models.v1_endpoint_address import V1EndpointAddress -from kubernetes_asyncio.client.models.v1_endpoint_conditions import V1EndpointConditions -from kubernetes_asyncio.client.models.v1_endpoint_hints import V1EndpointHints -from kubernetes_asyncio.client.models.v1_endpoint_slice import V1EndpointSlice -from kubernetes_asyncio.client.models.v1_endpoint_slice_list import V1EndpointSliceList -from kubernetes_asyncio.client.models.v1_endpoint_subset import V1EndpointSubset -from kubernetes_asyncio.client.models.v1_endpoints import V1Endpoints -from kubernetes_asyncio.client.models.v1_endpoints_list import V1EndpointsList -from kubernetes_asyncio.client.models.v1_env_from_source import V1EnvFromSource -from kubernetes_asyncio.client.models.v1_env_var import V1EnvVar -from kubernetes_asyncio.client.models.v1_env_var_source import V1EnvVarSource -from kubernetes_asyncio.client.models.v1_ephemeral_container import V1EphemeralContainer -from kubernetes_asyncio.client.models.v1_ephemeral_volume_source import V1EphemeralVolumeSource -from kubernetes_asyncio.client.models.v1_event_source import V1EventSource -from kubernetes_asyncio.client.models.v1_eviction import V1Eviction -from kubernetes_asyncio.client.models.v1_exact_device_request import V1ExactDeviceRequest -from kubernetes_asyncio.client.models.v1_exec_action import V1ExecAction -from kubernetes_asyncio.client.models.v1_exempt_priority_level_configuration import V1ExemptPriorityLevelConfiguration -from kubernetes_asyncio.client.models.v1_expression_warning import V1ExpressionWarning -from kubernetes_asyncio.client.models.v1_external_documentation import V1ExternalDocumentation -from kubernetes_asyncio.client.models.v1_fc_volume_source import V1FCVolumeSource -from kubernetes_asyncio.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes -from kubernetes_asyncio.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement -from kubernetes_asyncio.client.models.v1_file_key_selector import V1FileKeySelector -from kubernetes_asyncio.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_flex_volume_source import V1FlexVolumeSource -from kubernetes_asyncio.client.models.v1_flocker_volume_source import V1FlockerVolumeSource -from kubernetes_asyncio.client.models.v1_flow_distinguisher_method import V1FlowDistinguisherMethod -from kubernetes_asyncio.client.models.v1_flow_schema import V1FlowSchema -from kubernetes_asyncio.client.models.v1_flow_schema_condition import V1FlowSchemaCondition -from kubernetes_asyncio.client.models.v1_flow_schema_list import V1FlowSchemaList -from kubernetes_asyncio.client.models.v1_flow_schema_spec import V1FlowSchemaSpec -from kubernetes_asyncio.client.models.v1_flow_schema_status import V1FlowSchemaStatus -from kubernetes_asyncio.client.models.v1_for_node import V1ForNode -from kubernetes_asyncio.client.models.v1_for_zone import V1ForZone -from kubernetes_asyncio.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource -from kubernetes_asyncio.client.models.v1_grpc_action import V1GRPCAction -from kubernetes_asyncio.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource -from kubernetes_asyncio.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource -from kubernetes_asyncio.client.models.v1_group_resource import V1GroupResource -from kubernetes_asyncio.client.models.v1_group_subject import V1GroupSubject -from kubernetes_asyncio.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery -from kubernetes_asyncio.client.models.v1_http_get_action import V1HTTPGetAction -from kubernetes_asyncio.client.models.v1_http_header import V1HTTPHeader -from kubernetes_asyncio.client.models.v1_http_ingress_path import V1HTTPIngressPath -from kubernetes_asyncio.client.models.v1_http_ingress_rule_value import V1HTTPIngressRuleValue -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec -from kubernetes_asyncio.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus -from kubernetes_asyncio.client.models.v1_host_alias import V1HostAlias -from kubernetes_asyncio.client.models.v1_host_ip import V1HostIP -from kubernetes_asyncio.client.models.v1_host_path_volume_source import V1HostPathVolumeSource -from kubernetes_asyncio.client.models.v1_ip_address import V1IPAddress -from kubernetes_asyncio.client.models.v1_ip_address_list import V1IPAddressList -from kubernetes_asyncio.client.models.v1_ip_address_spec import V1IPAddressSpec -from kubernetes_asyncio.client.models.v1_ip_block import V1IPBlock -from kubernetes_asyncio.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource -from kubernetes_asyncio.client.models.v1_image_volume_source import V1ImageVolumeSource -from kubernetes_asyncio.client.models.v1_image_volume_status import V1ImageVolumeStatus -from kubernetes_asyncio.client.models.v1_ingress import V1Ingress -from kubernetes_asyncio.client.models.v1_ingress_backend import V1IngressBackend -from kubernetes_asyncio.client.models.v1_ingress_class import V1IngressClass -from kubernetes_asyncio.client.models.v1_ingress_class_list import V1IngressClassList -from kubernetes_asyncio.client.models.v1_ingress_class_parameters_reference import V1IngressClassParametersReference -from kubernetes_asyncio.client.models.v1_ingress_class_spec import V1IngressClassSpec -from kubernetes_asyncio.client.models.v1_ingress_list import V1IngressList -from kubernetes_asyncio.client.models.v1_ingress_load_balancer_ingress import V1IngressLoadBalancerIngress -from kubernetes_asyncio.client.models.v1_ingress_load_balancer_status import V1IngressLoadBalancerStatus -from kubernetes_asyncio.client.models.v1_ingress_port_status import V1IngressPortStatus -from kubernetes_asyncio.client.models.v1_ingress_rule import V1IngressRule -from kubernetes_asyncio.client.models.v1_ingress_service_backend import V1IngressServiceBackend -from kubernetes_asyncio.client.models.v1_ingress_spec import V1IngressSpec -from kubernetes_asyncio.client.models.v1_ingress_status import V1IngressStatus -from kubernetes_asyncio.client.models.v1_ingress_tls import V1IngressTLS -from kubernetes_asyncio.client.models.v1_json_patch import V1JSONPatch -from kubernetes_asyncio.client.models.v1_json_schema_props import V1JSONSchemaProps -from kubernetes_asyncio.client.models.v1_job import V1Job -from kubernetes_asyncio.client.models.v1_job_condition import V1JobCondition -from kubernetes_asyncio.client.models.v1_job_list import V1JobList -from kubernetes_asyncio.client.models.v1_job_spec import V1JobSpec -from kubernetes_asyncio.client.models.v1_job_status import V1JobStatus -from kubernetes_asyncio.client.models.v1_job_template_spec import V1JobTemplateSpec -from kubernetes_asyncio.client.models.v1_key_to_path import V1KeyToPath -from kubernetes_asyncio.client.models.v1_label_selector import V1LabelSelector -from kubernetes_asyncio.client.models.v1_label_selector_attributes import V1LabelSelectorAttributes -from kubernetes_asyncio.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement -from kubernetes_asyncio.client.models.v1_lease import V1Lease -from kubernetes_asyncio.client.models.v1_lease_list import V1LeaseList -from kubernetes_asyncio.client.models.v1_lease_spec import V1LeaseSpec -from kubernetes_asyncio.client.models.v1_lifecycle import V1Lifecycle -from kubernetes_asyncio.client.models.v1_lifecycle_handler import V1LifecycleHandler -from kubernetes_asyncio.client.models.v1_limit_range import V1LimitRange -from kubernetes_asyncio.client.models.v1_limit_range_item import V1LimitRangeItem -from kubernetes_asyncio.client.models.v1_limit_range_list import V1LimitRangeList -from kubernetes_asyncio.client.models.v1_limit_range_spec import V1LimitRangeSpec -from kubernetes_asyncio.client.models.v1_limit_response import V1LimitResponse -from kubernetes_asyncio.client.models.v1_limited_priority_level_configuration import V1LimitedPriorityLevelConfiguration -from kubernetes_asyncio.client.models.v1_linux_container_user import V1LinuxContainerUser -from kubernetes_asyncio.client.models.v1_list_meta import V1ListMeta -from kubernetes_asyncio.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress -from kubernetes_asyncio.client.models.v1_load_balancer_status import V1LoadBalancerStatus -from kubernetes_asyncio.client.models.v1_local_object_reference import V1LocalObjectReference -from kubernetes_asyncio.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview -from kubernetes_asyncio.client.models.v1_local_volume_source import V1LocalVolumeSource -from kubernetes_asyncio.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry -from kubernetes_asyncio.client.models.v1_match_condition import V1MatchCondition -from kubernetes_asyncio.client.models.v1_match_resources import V1MatchResources -from kubernetes_asyncio.client.models.v1_modify_volume_status import V1ModifyVolumeStatus -from kubernetes_asyncio.client.models.v1_mutating_admission_policy import V1MutatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_binding import V1MutatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_binding_list import V1MutatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_binding_spec import V1MutatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_list import V1MutatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1_mutating_admission_policy_spec import V1MutatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1_mutating_webhook import V1MutatingWebhook -from kubernetes_asyncio.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration -from kubernetes_asyncio.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList -from kubernetes_asyncio.client.models.v1_mutation import V1Mutation -from kubernetes_asyncio.client.models.v1_nfs_volume_source import V1NFSVolumeSource -from kubernetes_asyncio.client.models.v1_named_rule_with_operations import V1NamedRuleWithOperations -from kubernetes_asyncio.client.models.v1_namespace import V1Namespace -from kubernetes_asyncio.client.models.v1_namespace_condition import V1NamespaceCondition -from kubernetes_asyncio.client.models.v1_namespace_list import V1NamespaceList -from kubernetes_asyncio.client.models.v1_namespace_spec import V1NamespaceSpec -from kubernetes_asyncio.client.models.v1_namespace_status import V1NamespaceStatus -from kubernetes_asyncio.client.models.v1_network_device_data import V1NetworkDeviceData -from kubernetes_asyncio.client.models.v1_network_policy import V1NetworkPolicy -from kubernetes_asyncio.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule -from kubernetes_asyncio.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule -from kubernetes_asyncio.client.models.v1_network_policy_list import V1NetworkPolicyList -from kubernetes_asyncio.client.models.v1_network_policy_peer import V1NetworkPolicyPeer -from kubernetes_asyncio.client.models.v1_network_policy_port import V1NetworkPolicyPort -from kubernetes_asyncio.client.models.v1_network_policy_spec import V1NetworkPolicySpec -from kubernetes_asyncio.client.models.v1_node import V1Node -from kubernetes_asyncio.client.models.v1_node_address import V1NodeAddress -from kubernetes_asyncio.client.models.v1_node_affinity import V1NodeAffinity -from kubernetes_asyncio.client.models.v1_node_allocatable_resource_claim_status import V1NodeAllocatableResourceClaimStatus -from kubernetes_asyncio.client.models.v1_node_allocatable_resource_mapping import V1NodeAllocatableResourceMapping -from kubernetes_asyncio.client.models.v1_node_condition import V1NodeCondition -from kubernetes_asyncio.client.models.v1_node_config_source import V1NodeConfigSource -from kubernetes_asyncio.client.models.v1_node_config_status import V1NodeConfigStatus -from kubernetes_asyncio.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints -from kubernetes_asyncio.client.models.v1_node_features import V1NodeFeatures -from kubernetes_asyncio.client.models.v1_node_list import V1NodeList -from kubernetes_asyncio.client.models.v1_node_runtime_handler import V1NodeRuntimeHandler -from kubernetes_asyncio.client.models.v1_node_runtime_handler_features import V1NodeRuntimeHandlerFeatures -from kubernetes_asyncio.client.models.v1_node_selector import V1NodeSelector -from kubernetes_asyncio.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement -from kubernetes_asyncio.client.models.v1_node_selector_term import V1NodeSelectorTerm -from kubernetes_asyncio.client.models.v1_node_spec import V1NodeSpec -from kubernetes_asyncio.client.models.v1_node_status import V1NodeStatus -from kubernetes_asyncio.client.models.v1_node_swap_status import V1NodeSwapStatus -from kubernetes_asyncio.client.models.v1_node_system_info import V1NodeSystemInfo -from kubernetes_asyncio.client.models.v1_non_resource_attributes import V1NonResourceAttributes -from kubernetes_asyncio.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule -from kubernetes_asyncio.client.models.v1_non_resource_rule import V1NonResourceRule -from kubernetes_asyncio.client.models.v1_object_field_selector import V1ObjectFieldSelector -from kubernetes_asyncio.client.models.v1_object_meta import V1ObjectMeta -from kubernetes_asyncio.client.models.v1_object_reference import V1ObjectReference -from kubernetes_asyncio.client.models.v1_opaque_device_configuration import V1OpaqueDeviceConfiguration -from kubernetes_asyncio.client.models.v1_overhead import V1Overhead -from kubernetes_asyncio.client.models.v1_owner_reference import V1OwnerReference -from kubernetes_asyncio.client.models.v1_param_kind import V1ParamKind -from kubernetes_asyncio.client.models.v1_param_ref import V1ParamRef -from kubernetes_asyncio.client.models.v1_parent_reference import V1ParentReference -from kubernetes_asyncio.client.models.v1_persistent_volume import V1PersistentVolume -from kubernetes_asyncio.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_template import V1PersistentVolumeClaimTemplate -from kubernetes_asyncio.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource -from kubernetes_asyncio.client.models.v1_persistent_volume_list import V1PersistentVolumeList -from kubernetes_asyncio.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec -from kubernetes_asyncio.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus -from kubernetes_asyncio.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource -from kubernetes_asyncio.client.models.v1_pod import V1Pod -from kubernetes_asyncio.client.models.v1_pod_affinity import V1PodAffinity -from kubernetes_asyncio.client.models.v1_pod_affinity_term import V1PodAffinityTerm -from kubernetes_asyncio.client.models.v1_pod_anti_affinity import V1PodAntiAffinity -from kubernetes_asyncio.client.models.v1_pod_certificate_projection import V1PodCertificateProjection -from kubernetes_asyncio.client.models.v1_pod_condition import V1PodCondition -from kubernetes_asyncio.client.models.v1_pod_dns_config import V1PodDNSConfig -from kubernetes_asyncio.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption -from kubernetes_asyncio.client.models.v1_pod_disruption_budget import V1PodDisruptionBudget -from kubernetes_asyncio.client.models.v1_pod_disruption_budget_list import V1PodDisruptionBudgetList -from kubernetes_asyncio.client.models.v1_pod_disruption_budget_spec import V1PodDisruptionBudgetSpec -from kubernetes_asyncio.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus -from kubernetes_asyncio.client.models.v1_pod_extended_resource_claim_status import V1PodExtendedResourceClaimStatus -from kubernetes_asyncio.client.models.v1_pod_failure_policy import V1PodFailurePolicy -from kubernetes_asyncio.client.models.v1_pod_failure_policy_on_exit_codes_requirement import V1PodFailurePolicyOnExitCodesRequirement -from kubernetes_asyncio.client.models.v1_pod_failure_policy_on_pod_conditions_pattern import V1PodFailurePolicyOnPodConditionsPattern -from kubernetes_asyncio.client.models.v1_pod_failure_policy_rule import V1PodFailurePolicyRule -from kubernetes_asyncio.client.models.v1_pod_ip import V1PodIP -from kubernetes_asyncio.client.models.v1_pod_list import V1PodList -from kubernetes_asyncio.client.models.v1_pod_os import V1PodOS -from kubernetes_asyncio.client.models.v1_pod_readiness_gate import V1PodReadinessGate -from kubernetes_asyncio.client.models.v1_pod_resource_claim import V1PodResourceClaim -from kubernetes_asyncio.client.models.v1_pod_resource_claim_status import V1PodResourceClaimStatus -from kubernetes_asyncio.client.models.v1_pod_scheduling_gate import V1PodSchedulingGate -from kubernetes_asyncio.client.models.v1_pod_scheduling_group import V1PodSchedulingGroup -from kubernetes_asyncio.client.models.v1_pod_security_context import V1PodSecurityContext -from kubernetes_asyncio.client.models.v1_pod_spec import V1PodSpec -from kubernetes_asyncio.client.models.v1_pod_status import V1PodStatus -from kubernetes_asyncio.client.models.v1_pod_template import V1PodTemplate -from kubernetes_asyncio.client.models.v1_pod_template_list import V1PodTemplateList -from kubernetes_asyncio.client.models.v1_pod_template_spec import V1PodTemplateSpec -from kubernetes_asyncio.client.models.v1_policy_rule import V1PolicyRule -from kubernetes_asyncio.client.models.v1_policy_rules_with_subjects import V1PolicyRulesWithSubjects -from kubernetes_asyncio.client.models.v1_port_status import V1PortStatus -from kubernetes_asyncio.client.models.v1_portworx_volume_source import V1PortworxVolumeSource -from kubernetes_asyncio.client.models.v1_preconditions import V1Preconditions -from kubernetes_asyncio.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm -from kubernetes_asyncio.client.models.v1_priority_class import V1PriorityClass -from kubernetes_asyncio.client.models.v1_priority_class_list import V1PriorityClassList -from kubernetes_asyncio.client.models.v1_priority_level_configuration import V1PriorityLevelConfiguration -from kubernetes_asyncio.client.models.v1_priority_level_configuration_condition import V1PriorityLevelConfigurationCondition -from kubernetes_asyncio.client.models.v1_priority_level_configuration_list import V1PriorityLevelConfigurationList -from kubernetes_asyncio.client.models.v1_priority_level_configuration_reference import V1PriorityLevelConfigurationReference -from kubernetes_asyncio.client.models.v1_priority_level_configuration_spec import V1PriorityLevelConfigurationSpec -from kubernetes_asyncio.client.models.v1_priority_level_configuration_status import V1PriorityLevelConfigurationStatus -from kubernetes_asyncio.client.models.v1_probe import V1Probe -from kubernetes_asyncio.client.models.v1_projected_volume_source import V1ProjectedVolumeSource -from kubernetes_asyncio.client.models.v1_queuing_configuration import V1QueuingConfiguration -from kubernetes_asyncio.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource -from kubernetes_asyncio.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_rbd_volume_source import V1RBDVolumeSource -from kubernetes_asyncio.client.models.v1_replica_set import V1ReplicaSet -from kubernetes_asyncio.client.models.v1_replica_set_condition import V1ReplicaSetCondition -from kubernetes_asyncio.client.models.v1_replica_set_list import V1ReplicaSetList -from kubernetes_asyncio.client.models.v1_replica_set_spec import V1ReplicaSetSpec -from kubernetes_asyncio.client.models.v1_replica_set_status import V1ReplicaSetStatus -from kubernetes_asyncio.client.models.v1_replication_controller import V1ReplicationController -from kubernetes_asyncio.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition -from kubernetes_asyncio.client.models.v1_replication_controller_list import V1ReplicationControllerList -from kubernetes_asyncio.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec -from kubernetes_asyncio.client.models.v1_replication_controller_status import V1ReplicationControllerStatus -from kubernetes_asyncio.client.models.v1_resource_attributes import V1ResourceAttributes -from kubernetes_asyncio.client.models.v1_resource_claim_consumer_reference import V1ResourceClaimConsumerReference -from kubernetes_asyncio.client.models.v1_resource_claim_list import V1ResourceClaimList -from kubernetes_asyncio.client.models.v1_resource_claim_spec import V1ResourceClaimSpec -from kubernetes_asyncio.client.models.v1_resource_claim_status import V1ResourceClaimStatus -from kubernetes_asyncio.client.models.v1_resource_claim_template import V1ResourceClaimTemplate -from kubernetes_asyncio.client.models.v1_resource_claim_template_list import V1ResourceClaimTemplateList -from kubernetes_asyncio.client.models.v1_resource_claim_template_spec import V1ResourceClaimTemplateSpec -from kubernetes_asyncio.client.models.v1_resource_field_selector import V1ResourceFieldSelector -from kubernetes_asyncio.client.models.v1_resource_health import V1ResourceHealth -from kubernetes_asyncio.client.models.v1_resource_policy_rule import V1ResourcePolicyRule -from kubernetes_asyncio.client.models.v1_resource_pool import V1ResourcePool -from kubernetes_asyncio.client.models.v1_resource_quota import V1ResourceQuota -from kubernetes_asyncio.client.models.v1_resource_quota_list import V1ResourceQuotaList -from kubernetes_asyncio.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec -from kubernetes_asyncio.client.models.v1_resource_quota_status import V1ResourceQuotaStatus -from kubernetes_asyncio.client.models.v1_resource_requirements import V1ResourceRequirements -from kubernetes_asyncio.client.models.v1_resource_rule import V1ResourceRule -from kubernetes_asyncio.client.models.v1_resource_slice import V1ResourceSlice -from kubernetes_asyncio.client.models.v1_resource_slice_list import V1ResourceSliceList -from kubernetes_asyncio.client.models.v1_resource_slice_spec import V1ResourceSliceSpec -from kubernetes_asyncio.client.models.v1_resource_status import V1ResourceStatus -from kubernetes_asyncio.client.models.v1_role import V1Role -from kubernetes_asyncio.client.models.v1_role_binding import V1RoleBinding -from kubernetes_asyncio.client.models.v1_role_binding_list import V1RoleBindingList -from kubernetes_asyncio.client.models.v1_role_list import V1RoleList -from kubernetes_asyncio.client.models.v1_role_ref import V1RoleRef -from kubernetes_asyncio.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet -from kubernetes_asyncio.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment -from kubernetes_asyncio.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy -from kubernetes_asyncio.client.models.v1_rule_with_operations import V1RuleWithOperations -from kubernetes_asyncio.client.models.v1_runtime_class import V1RuntimeClass -from kubernetes_asyncio.client.models.v1_runtime_class_list import V1RuntimeClassList -from kubernetes_asyncio.client.models.v1_se_linux_options import V1SELinuxOptions -from kubernetes_asyncio.client.models.v1_scale import V1Scale -from kubernetes_asyncio.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource -from kubernetes_asyncio.client.models.v1_scale_spec import V1ScaleSpec -from kubernetes_asyncio.client.models.v1_scale_status import V1ScaleStatus -from kubernetes_asyncio.client.models.v1_scheduling import V1Scheduling -from kubernetes_asyncio.client.models.v1_scope_selector import V1ScopeSelector -from kubernetes_asyncio.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement -from kubernetes_asyncio.client.models.v1_seccomp_profile import V1SeccompProfile -from kubernetes_asyncio.client.models.v1_secret import V1Secret -from kubernetes_asyncio.client.models.v1_secret_env_source import V1SecretEnvSource -from kubernetes_asyncio.client.models.v1_secret_key_selector import V1SecretKeySelector -from kubernetes_asyncio.client.models.v1_secret_list import V1SecretList -from kubernetes_asyncio.client.models.v1_secret_projection import V1SecretProjection -from kubernetes_asyncio.client.models.v1_secret_reference import V1SecretReference -from kubernetes_asyncio.client.models.v1_secret_volume_source import V1SecretVolumeSource -from kubernetes_asyncio.client.models.v1_security_context import V1SecurityContext -from kubernetes_asyncio.client.models.v1_selectable_field import V1SelectableField -from kubernetes_asyncio.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview -from kubernetes_asyncio.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec -from kubernetes_asyncio.client.models.v1_self_subject_review import V1SelfSubjectReview -from kubernetes_asyncio.client.models.v1_self_subject_review_status import V1SelfSubjectReviewStatus -from kubernetes_asyncio.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview -from kubernetes_asyncio.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec -from kubernetes_asyncio.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR -from kubernetes_asyncio.client.models.v1_service import V1Service -from kubernetes_asyncio.client.models.v1_service_account import V1ServiceAccount -from kubernetes_asyncio.client.models.v1_service_account_list import V1ServiceAccountList -from kubernetes_asyncio.client.models.v1_service_account_subject import V1ServiceAccountSubject -from kubernetes_asyncio.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection -from kubernetes_asyncio.client.models.v1_service_backend_port import V1ServiceBackendPort -from kubernetes_asyncio.client.models.v1_service_cidr import V1ServiceCIDR -from kubernetes_asyncio.client.models.v1_service_cidr_list import V1ServiceCIDRList -from kubernetes_asyncio.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec -from kubernetes_asyncio.client.models.v1_service_cidr_status import V1ServiceCIDRStatus -from kubernetes_asyncio.client.models.v1_service_list import V1ServiceList -from kubernetes_asyncio.client.models.v1_service_port import V1ServicePort -from kubernetes_asyncio.client.models.v1_service_spec import V1ServiceSpec -from kubernetes_asyncio.client.models.v1_service_status import V1ServiceStatus -from kubernetes_asyncio.client.models.v1_session_affinity_config import V1SessionAffinityConfig -from kubernetes_asyncio.client.models.v1_shard_info import V1ShardInfo -from kubernetes_asyncio.client.models.v1_sleep_action import V1SleepAction -from kubernetes_asyncio.client.models.v1_stateful_set import V1StatefulSet -from kubernetes_asyncio.client.models.v1_stateful_set_condition import V1StatefulSetCondition -from kubernetes_asyncio.client.models.v1_stateful_set_list import V1StatefulSetList -from kubernetes_asyncio.client.models.v1_stateful_set_ordinals import V1StatefulSetOrdinals -from kubernetes_asyncio.client.models.v1_stateful_set_persistent_volume_claim_retention_policy import V1StatefulSetPersistentVolumeClaimRetentionPolicy -from kubernetes_asyncio.client.models.v1_stateful_set_spec import V1StatefulSetSpec -from kubernetes_asyncio.client.models.v1_stateful_set_status import V1StatefulSetStatus -from kubernetes_asyncio.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy -from kubernetes_asyncio.client.models.v1_status import V1Status -from kubernetes_asyncio.client.models.v1_status_cause import V1StatusCause -from kubernetes_asyncio.client.models.v1_status_details import V1StatusDetails -from kubernetes_asyncio.client.models.v1_storage_class import V1StorageClass -from kubernetes_asyncio.client.models.v1_storage_class_list import V1StorageClassList -from kubernetes_asyncio.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource -from kubernetes_asyncio.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource -from kubernetes_asyncio.client.models.v1_subject_access_review import V1SubjectAccessReview -from kubernetes_asyncio.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec -from kubernetes_asyncio.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus -from kubernetes_asyncio.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus -from kubernetes_asyncio.client.models.v1_success_policy import V1SuccessPolicy -from kubernetes_asyncio.client.models.v1_success_policy_rule import V1SuccessPolicyRule -from kubernetes_asyncio.client.models.v1_sysctl import V1Sysctl -from kubernetes_asyncio.client.models.v1_tcp_socket_action import V1TCPSocketAction -from kubernetes_asyncio.client.models.v1_taint import V1Taint -from kubernetes_asyncio.client.models.v1_token_request_spec import V1TokenRequestSpec -from kubernetes_asyncio.client.models.v1_token_request_status import V1TokenRequestStatus -from kubernetes_asyncio.client.models.v1_token_review import V1TokenReview -from kubernetes_asyncio.client.models.v1_token_review_spec import V1TokenReviewSpec -from kubernetes_asyncio.client.models.v1_token_review_status import V1TokenReviewStatus -from kubernetes_asyncio.client.models.v1_toleration import V1Toleration -from kubernetes_asyncio.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement -from kubernetes_asyncio.client.models.v1_topology_selector_term import V1TopologySelectorTerm -from kubernetes_asyncio.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint -from kubernetes_asyncio.client.models.v1_type_checking import V1TypeChecking -from kubernetes_asyncio.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference -from kubernetes_asyncio.client.models.v1_typed_object_reference import V1TypedObjectReference -from kubernetes_asyncio.client.models.v1_uncounted_terminated_pods import V1UncountedTerminatedPods -from kubernetes_asyncio.client.models.v1_user_info import V1UserInfo -from kubernetes_asyncio.client.models.v1_user_subject import V1UserSubject -from kubernetes_asyncio.client.models.v1_validating_admission_policy import V1ValidatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1_validating_admission_policy_binding import V1ValidatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1_validating_admission_policy_binding_list import V1ValidatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1_validating_admission_policy_binding_spec import V1ValidatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1_validating_admission_policy_list import V1ValidatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1_validating_admission_policy_spec import V1ValidatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1_validating_admission_policy_status import V1ValidatingAdmissionPolicyStatus -from kubernetes_asyncio.client.models.v1_validating_webhook import V1ValidatingWebhook -from kubernetes_asyncio.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration -from kubernetes_asyncio.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList -from kubernetes_asyncio.client.models.v1_validation import V1Validation -from kubernetes_asyncio.client.models.v1_validation_rule import V1ValidationRule -from kubernetes_asyncio.client.models.v1_variable import V1Variable -from kubernetes_asyncio.client.models.v1_volume import V1Volume -from kubernetes_asyncio.client.models.v1_volume_attachment import V1VolumeAttachment -from kubernetes_asyncio.client.models.v1_volume_attachment_list import V1VolumeAttachmentList -from kubernetes_asyncio.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource -from kubernetes_asyncio.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec -from kubernetes_asyncio.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus -from kubernetes_asyncio.client.models.v1_volume_attributes_class import V1VolumeAttributesClass -from kubernetes_asyncio.client.models.v1_volume_attributes_class_list import V1VolumeAttributesClassList -from kubernetes_asyncio.client.models.v1_volume_device import V1VolumeDevice -from kubernetes_asyncio.client.models.v1_volume_error import V1VolumeError -from kubernetes_asyncio.client.models.v1_volume_mount import V1VolumeMount -from kubernetes_asyncio.client.models.v1_volume_mount_status import V1VolumeMountStatus -from kubernetes_asyncio.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity -from kubernetes_asyncio.client.models.v1_volume_node_resources import V1VolumeNodeResources -from kubernetes_asyncio.client.models.v1_volume_projection import V1VolumeProjection -from kubernetes_asyncio.client.models.v1_volume_resource_requirements import V1VolumeResourceRequirements -from kubernetes_asyncio.client.models.v1_volume_status import V1VolumeStatus -from kubernetes_asyncio.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource -from kubernetes_asyncio.client.models.v1_watch_event import V1WatchEvent -from kubernetes_asyncio.client.models.v1_webhook_conversion import V1WebhookConversion -from kubernetes_asyncio.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm -from kubernetes_asyncio.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions -from kubernetes_asyncio.client.models.v1alpha1_apply_configuration import V1alpha1ApplyConfiguration -from kubernetes_asyncio.client.models.v1alpha1_cluster_trust_bundle import V1alpha1ClusterTrustBundle -from kubernetes_asyncio.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1ClusterTrustBundleList -from kubernetes_asyncio.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec -from kubernetes_asyncio.client.models.v1alpha1_json_patch import V1alpha1JSONPatch -from kubernetes_asyncio.client.models.v1alpha1_match_condition import V1alpha1MatchCondition -from kubernetes_asyncio.client.models.v1alpha1_match_resources import V1alpha1MatchResources -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy import V1alpha1MutatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding import V1alpha1MutatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding_list import V1alpha1MutatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding_spec import V1alpha1MutatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_list import V1alpha1MutatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_spec import V1alpha1MutatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1alpha1_mutation import V1alpha1Mutation -from kubernetes_asyncio.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations -from kubernetes_asyncio.client.models.v1alpha1_param_kind import V1alpha1ParamKind -from kubernetes_asyncio.client.models.v1alpha1_param_ref import V1alpha1ParamRef -from kubernetes_asyncio.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion -from kubernetes_asyncio.client.models.v1alpha1_storage_version import V1alpha1StorageVersion -from kubernetes_asyncio.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition -from kubernetes_asyncio.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList -from kubernetes_asyncio.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus -from kubernetes_asyncio.client.models.v1alpha1_variable import V1alpha1Variable -from kubernetes_asyncio.client.models.v1alpha2_gang_scheduling_policy import V1alpha2GangSchedulingPolicy -from kubernetes_asyncio.client.models.v1alpha2_lease_candidate import V1alpha2LeaseCandidate -from kubernetes_asyncio.client.models.v1alpha2_lease_candidate_list import V1alpha2LeaseCandidateList -from kubernetes_asyncio.client.models.v1alpha2_lease_candidate_spec import V1alpha2LeaseCandidateSpec -from kubernetes_asyncio.client.models.v1alpha2_pod_group import V1alpha2PodGroup -from kubernetes_asyncio.client.models.v1alpha2_pod_group_list import V1alpha2PodGroupList -from kubernetes_asyncio.client.models.v1alpha2_pod_group_resource_claim import V1alpha2PodGroupResourceClaim -from kubernetes_asyncio.client.models.v1alpha2_pod_group_resource_claim_status import V1alpha2PodGroupResourceClaimStatus -from kubernetes_asyncio.client.models.v1alpha2_pod_group_scheduling_constraints import V1alpha2PodGroupSchedulingConstraints -from kubernetes_asyncio.client.models.v1alpha2_pod_group_scheduling_policy import V1alpha2PodGroupSchedulingPolicy -from kubernetes_asyncio.client.models.v1alpha2_pod_group_spec import V1alpha2PodGroupSpec -from kubernetes_asyncio.client.models.v1alpha2_pod_group_status import V1alpha2PodGroupStatus -from kubernetes_asyncio.client.models.v1alpha2_pod_group_template import V1alpha2PodGroupTemplate -from kubernetes_asyncio.client.models.v1alpha2_pod_group_template_reference import V1alpha2PodGroupTemplateReference -from kubernetes_asyncio.client.models.v1alpha2_topology_constraint import V1alpha2TopologyConstraint -from kubernetes_asyncio.client.models.v1alpha2_typed_local_object_reference import V1alpha2TypedLocalObjectReference -from kubernetes_asyncio.client.models.v1alpha2_workload import V1alpha2Workload -from kubernetes_asyncio.client.models.v1alpha2_workload_list import V1alpha2WorkloadList -from kubernetes_asyncio.client.models.v1alpha2_workload_pod_group_template_reference import V1alpha2WorkloadPodGroupTemplateReference -from kubernetes_asyncio.client.models.v1alpha2_workload_spec import V1alpha2WorkloadSpec -from kubernetes_asyncio.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec -from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_status import V1alpha3DeviceTaintRuleStatus -from kubernetes_asyncio.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector -from kubernetes_asyncio.client.models.v1alpha3_pool_status import V1alpha3PoolStatus -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request import V1alpha3ResourcePoolStatusRequest -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request_list import V1alpha3ResourcePoolStatusRequestList -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request_spec import V1alpha3ResourcePoolStatusRequestSpec -from kubernetes_asyncio.client.models.v1alpha3_resource_pool_status_request_status import V1alpha3ResourcePoolStatusRequestStatus -from kubernetes_asyncio.client.models.v1beta1_allocated_device_status import V1beta1AllocatedDeviceStatus -from kubernetes_asyncio.client.models.v1beta1_allocation_result import V1beta1AllocationResult -from kubernetes_asyncio.client.models.v1beta1_apply_configuration import V1beta1ApplyConfiguration -from kubernetes_asyncio.client.models.v1beta1_basic_device import V1beta1BasicDevice -from kubernetes_asyncio.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector -from kubernetes_asyncio.client.models.v1beta1_capacity_request_policy import V1beta1CapacityRequestPolicy -from kubernetes_asyncio.client.models.v1beta1_capacity_request_policy_range import V1beta1CapacityRequestPolicyRange -from kubernetes_asyncio.client.models.v1beta1_capacity_requirements import V1beta1CapacityRequirements -from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle -from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList -from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec -from kubernetes_asyncio.client.models.v1beta1_counter import V1beta1Counter -from kubernetes_asyncio.client.models.v1beta1_counter_set import V1beta1CounterSet -from kubernetes_asyncio.client.models.v1beta1_device import V1beta1Device -from kubernetes_asyncio.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration -from kubernetes_asyncio.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult -from kubernetes_asyncio.client.models.v1beta1_device_attribute import V1beta1DeviceAttribute -from kubernetes_asyncio.client.models.v1beta1_device_capacity import V1beta1DeviceCapacity -from kubernetes_asyncio.client.models.v1beta1_device_claim import V1beta1DeviceClaim -from kubernetes_asyncio.client.models.v1beta1_device_claim_configuration import V1beta1DeviceClaimConfiguration -from kubernetes_asyncio.client.models.v1beta1_device_class import V1beta1DeviceClass -from kubernetes_asyncio.client.models.v1beta1_device_class_configuration import V1beta1DeviceClassConfiguration -from kubernetes_asyncio.client.models.v1beta1_device_class_list import V1beta1DeviceClassList -from kubernetes_asyncio.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec -from kubernetes_asyncio.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint -from kubernetes_asyncio.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption -from kubernetes_asyncio.client.models.v1beta1_device_request import V1beta1DeviceRequest -from kubernetes_asyncio.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult -from kubernetes_asyncio.client.models.v1beta1_device_selector import V1beta1DeviceSelector -from kubernetes_asyncio.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest -from kubernetes_asyncio.client.models.v1beta1_device_taint import V1beta1DeviceTaint -from kubernetes_asyncio.client.models.v1beta1_device_toleration import V1beta1DeviceToleration -from kubernetes_asyncio.client.models.v1beta1_ip_address import V1beta1IPAddress -from kubernetes_asyncio.client.models.v1beta1_ip_address_list import V1beta1IPAddressList -from kubernetes_asyncio.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec -from kubernetes_asyncio.client.models.v1beta1_json_patch import V1beta1JSONPatch -from kubernetes_asyncio.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate -from kubernetes_asyncio.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList -from kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec -from kubernetes_asyncio.client.models.v1beta1_match_condition import V1beta1MatchCondition -from kubernetes_asyncio.client.models.v1beta1_match_resources import V1beta1MatchResources -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy import V1beta1MutatingAdmissionPolicy -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_binding import V1beta1MutatingAdmissionPolicyBinding -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_binding_list import V1beta1MutatingAdmissionPolicyBindingList -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_binding_spec import V1beta1MutatingAdmissionPolicyBindingSpec -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_list import V1beta1MutatingAdmissionPolicyList -from kubernetes_asyncio.client.models.v1beta1_mutating_admission_policy_spec import V1beta1MutatingAdmissionPolicySpec -from kubernetes_asyncio.client.models.v1beta1_mutation import V1beta1Mutation -from kubernetes_asyncio.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations -from kubernetes_asyncio.client.models.v1beta1_network_device_data import V1beta1NetworkDeviceData -from kubernetes_asyncio.client.models.v1beta1_node_allocatable_resource_mapping import V1beta1NodeAllocatableResourceMapping -from kubernetes_asyncio.client.models.v1beta1_opaque_device_configuration import V1beta1OpaqueDeviceConfiguration -from kubernetes_asyncio.client.models.v1beta1_param_kind import V1beta1ParamKind -from kubernetes_asyncio.client.models.v1beta1_param_ref import V1beta1ParamRef -from kubernetes_asyncio.client.models.v1beta1_parent_reference import V1beta1ParentReference -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request import V1beta1PodCertificateRequest -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request_list import V1beta1PodCertificateRequestList -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request_spec import V1beta1PodCertificateRequestSpec -from kubernetes_asyncio.client.models.v1beta1_pod_certificate_request_status import V1beta1PodCertificateRequestStatus -from kubernetes_asyncio.client.models.v1beta1_resource_claim import V1beta1ResourceClaim -from kubernetes_asyncio.client.models.v1beta1_resource_claim_consumer_reference import V1beta1ResourceClaimConsumerReference -from kubernetes_asyncio.client.models.v1beta1_resource_claim_list import V1beta1ResourceClaimList -from kubernetes_asyncio.client.models.v1beta1_resource_claim_spec import V1beta1ResourceClaimSpec -from kubernetes_asyncio.client.models.v1beta1_resource_claim_status import V1beta1ResourceClaimStatus -from kubernetes_asyncio.client.models.v1beta1_resource_claim_template import V1beta1ResourceClaimTemplate -from kubernetes_asyncio.client.models.v1beta1_resource_claim_template_list import V1beta1ResourceClaimTemplateList -from kubernetes_asyncio.client.models.v1beta1_resource_claim_template_spec import V1beta1ResourceClaimTemplateSpec -from kubernetes_asyncio.client.models.v1beta1_resource_pool import V1beta1ResourcePool -from kubernetes_asyncio.client.models.v1beta1_resource_slice import V1beta1ResourceSlice -from kubernetes_asyncio.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList -from kubernetes_asyncio.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec -from kubernetes_asyncio.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR -from kubernetes_asyncio.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList -from kubernetes_asyncio.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec -from kubernetes_asyncio.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration import V1beta1StorageVersionMigration -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration_list import V1beta1StorageVersionMigrationList -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration_spec import V1beta1StorageVersionMigrationSpec -from kubernetes_asyncio.client.models.v1beta1_storage_version_migration_status import V1beta1StorageVersionMigrationStatus -from kubernetes_asyncio.client.models.v1beta1_variable import V1beta1Variable -from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass -from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList -from kubernetes_asyncio.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus -from kubernetes_asyncio.client.models.v1beta2_allocation_result import V1beta2AllocationResult -from kubernetes_asyncio.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector -from kubernetes_asyncio.client.models.v1beta2_capacity_request_policy import V1beta2CapacityRequestPolicy -from kubernetes_asyncio.client.models.v1beta2_capacity_request_policy_range import V1beta2CapacityRequestPolicyRange -from kubernetes_asyncio.client.models.v1beta2_capacity_requirements import V1beta2CapacityRequirements -from kubernetes_asyncio.client.models.v1beta2_counter import V1beta2Counter -from kubernetes_asyncio.client.models.v1beta2_counter_set import V1beta2CounterSet -from kubernetes_asyncio.client.models.v1beta2_device import V1beta2Device -from kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration -from kubernetes_asyncio.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult -from kubernetes_asyncio.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute -from kubernetes_asyncio.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity -from kubernetes_asyncio.client.models.v1beta2_device_claim import V1beta2DeviceClaim -from kubernetes_asyncio.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration -from kubernetes_asyncio.client.models.v1beta2_device_class import V1beta2DeviceClass -from kubernetes_asyncio.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration -from kubernetes_asyncio.client.models.v1beta2_device_class_list import V1beta2DeviceClassList -from kubernetes_asyncio.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec -from kubernetes_asyncio.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint -from kubernetes_asyncio.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption -from kubernetes_asyncio.client.models.v1beta2_device_request import V1beta2DeviceRequest -from kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult -from kubernetes_asyncio.client.models.v1beta2_device_selector import V1beta2DeviceSelector -from kubernetes_asyncio.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest -from kubernetes_asyncio.client.models.v1beta2_device_taint import V1beta2DeviceTaint -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule import V1beta2DeviceTaintRule -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule_list import V1beta2DeviceTaintRuleList -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule_spec import V1beta2DeviceTaintRuleSpec -from kubernetes_asyncio.client.models.v1beta2_device_taint_rule_status import V1beta2DeviceTaintRuleStatus -from kubernetes_asyncio.client.models.v1beta2_device_taint_selector import V1beta2DeviceTaintSelector -from kubernetes_asyncio.client.models.v1beta2_device_toleration import V1beta2DeviceToleration -from kubernetes_asyncio.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest -from kubernetes_asyncio.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData -from kubernetes_asyncio.client.models.v1beta2_node_allocatable_resource_mapping import V1beta2NodeAllocatableResourceMapping -from kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration -from kubernetes_asyncio.client.models.v1beta2_resource_claim import V1beta2ResourceClaim -from kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference -from kubernetes_asyncio.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList -from kubernetes_asyncio.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec -from kubernetes_asyncio.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus -from kubernetes_asyncio.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate -from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList -from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec -from kubernetes_asyncio.client.models.v1beta2_resource_pool import V1beta2ResourcePool -from kubernetes_asyncio.client.models.v1beta2_resource_slice import V1beta2ResourceSlice -from kubernetes_asyncio.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList -from kubernetes_asyncio.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec -from kubernetes_asyncio.client.models.v2_api_group_discovery import V2APIGroupDiscovery -from kubernetes_asyncio.client.models.v2_api_group_discovery_list import V2APIGroupDiscoveryList -from kubernetes_asyncio.client.models.v2_api_resource_discovery import V2APIResourceDiscovery -from kubernetes_asyncio.client.models.v2_api_subresource_discovery import V2APISubresourceDiscovery -from kubernetes_asyncio.client.models.v2_api_version_discovery import V2APIVersionDiscovery -from kubernetes_asyncio.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource -from kubernetes_asyncio.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus -from kubernetes_asyncio.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference -from kubernetes_asyncio.client.models.v2_external_metric_source import V2ExternalMetricSource -from kubernetes_asyncio.client.models.v2_external_metric_status import V2ExternalMetricStatus -from kubernetes_asyncio.client.models.v2_hpa_scaling_policy import V2HPAScalingPolicy -from kubernetes_asyncio.client.models.v2_hpa_scaling_rules import V2HPAScalingRules -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler import V2HorizontalPodAutoscaler -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_condition import V2HorizontalPodAutoscalerCondition -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_list import V2HorizontalPodAutoscalerList -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_spec import V2HorizontalPodAutoscalerSpec -from kubernetes_asyncio.client.models.v2_horizontal_pod_autoscaler_status import V2HorizontalPodAutoscalerStatus -from kubernetes_asyncio.client.models.v2_metric_identifier import V2MetricIdentifier -from kubernetes_asyncio.client.models.v2_metric_spec import V2MetricSpec -from kubernetes_asyncio.client.models.v2_metric_status import V2MetricStatus -from kubernetes_asyncio.client.models.v2_metric_target import V2MetricTarget -from kubernetes_asyncio.client.models.v2_metric_value_status import V2MetricValueStatus -from kubernetes_asyncio.client.models.v2_object_metric_source import V2ObjectMetricSource -from kubernetes_asyncio.client.models.v2_object_metric_status import V2ObjectMetricStatus -from kubernetes_asyncio.client.models.v2_pods_metric_source import V2PodsMetricSource -from kubernetes_asyncio.client.models.v2_pods_metric_status import V2PodsMetricStatus -from kubernetes_asyncio.client.models.v2_resource_metric_source import V2ResourceMetricSource -from kubernetes_asyncio.client.models.v2_resource_metric_status import V2ResourceMetricStatus -from kubernetes_asyncio.client.models.v2beta1_api_group_discovery import V2beta1APIGroupDiscovery -from kubernetes_asyncio.client.models.v2beta1_api_group_discovery_list import V2beta1APIGroupDiscoveryList -from kubernetes_asyncio.client.models.v2beta1_api_resource_discovery import V2beta1APIResourceDiscovery -from kubernetes_asyncio.client.models.v2beta1_api_subresource_discovery import V2beta1APISubresourceDiscovery -from kubernetes_asyncio.client.models.v2beta1_api_version_discovery import V2beta1APIVersionDiscovery -from kubernetes_asyncio.client.models.version_info import VersionInfo diff --git a/kubernetes_asyncio/docs/V1APIVersions.md b/kubernetes_asyncio/docs/V1APIVersions.md deleted file mode 100644 index 3f9e291c35..0000000000 --- a/kubernetes_asyncio/docs/V1APIVersions.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1APIVersions - -APIVersions lists the versions that are available, to allow kubernetes_asyncio.clients to discover the API at /api, which is the root path of the legacy v1 API. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes_asyncio.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**server_address_by_client_cidrs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes_asyncio.client CIDR to server address that is serving this group. This is to help kubernetes_asyncio.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes_asyncio.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes_asyncio.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes_asyncio.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes_asyncio.client IP. | -**versions** | **list[str]** | versions are the api versions that are available. | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/kubernetes_asyncio/docs/V1CertificateSigningRequestSpec.md b/kubernetes_asyncio/docs/V1CertificateSigningRequestSpec.md deleted file mode 100644 index 081980b646..0000000000 --- a/kubernetes_asyncio/docs/V1CertificateSigningRequestSpec.md +++ /dev/null @@ -1,19 +0,0 @@ -# V1CertificateSigningRequestSpec - -CertificateSigningRequestSpec contains the certificate request. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**expiration_seconds** | **int** | expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a kubernetes_asyncio.client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration. The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager. Certificate signers may not honor this field for various reasons: 1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22) 2. Signer whose configured maximum is shorter than the requested duration 3. Signer whose configured minimum is longer than the requested duration The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. | [optional] -**extra** | **dict[str, list[str]]** | extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] -**groups** | **list[str]** | groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] -**request** | **str** | request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded. | -**signer_name** | **str** | signerName indicates the requested signer, and is a qualified name. List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector. Well-known Kubernetes signers are: 1. \"kubernetes.io/kube-apiserver-kubernetes_asyncio.client\": issues kubernetes_asyncio.client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager. 2. \"kubernetes.io/kube-apiserver-kubernetes_asyncio.client-kubelet\": issues kubernetes_asyncio.client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers Custom signerNames can also be specified. The signer defines: 1. Trust distribution: how trust (CA bundles) are distributed. 2. Permitted subjects: and behavior when a disallowed subject is requested. 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested. 4. Required, permitted, or forbidden key usages / extended key usages. 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin. 6. Whether or not requests for CA certificates are allowed. | -**uid** | **str** | uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] -**usages** | **list[str]** | usages specifies a set of key usages requested in the issued certificate. Requests for TLS kubernetes_asyncio.client certificates typically request: \"digital signature\", \"key encipherment\", \"kubernetes_asyncio.client auth\". Requests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\". Valid values are: \"signing\", \"digital signature\", \"content commitment\", \"key encipherment\", \"key agreement\", \"data encipherment\", \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\", \"server auth\", \"kubernetes_asyncio.client auth\", \"code signing\", \"email protection\", \"s/mime\", \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\", \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\" | [optional] -**username** | **str** | username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/kubernetes_asyncio/docs/V1ServerAddressByClientCIDR.md b/kubernetes_asyncio/docs/V1ServerAddressByClientCIDR.md deleted file mode 100644 index 5351835e26..0000000000 --- a/kubernetes_asyncio/docs/V1ServerAddressByClientCIDR.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ServerAddressByClientCIDR - -ServerAddressByClientCIDR helps the kubernetes_asyncio.client to determine the server address that they should use, depending on the kubernetes_asyncio.clientCIDR that they match. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kubernetes_asyncio.client_cidr** | **str** | The CIDR with which kubernetes_asyncio.clients can match their IP to figure out the server address that they should use. | -**server_address** | **str** | Address of this server, suitable for a kubernetes_asyncio.client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/requirements-asyncio.txt b/requirements-asyncio.txt index e26b3cda65..68b26ab189 100644 --- a/requirements-asyncio.txt +++ b/requirements-asyncio.txt @@ -1,6 +1,6 @@ certifi>=14.05.14 # MPL six>=1.9.0 # MIT python-dateutil>=2.5.3 # BSD -pyyaml>=5.4.1 # MIT +pyyaml>=6.0.3 # MIT urllib3>=1.24.2,!=2.6.0 # MIT -aiohttp>=3.9.0,<4.0.0 # Apache-2.0 +aiohttp>=3.13.5,<4.0.0 # Apache-2.0 diff --git a/requirements.txt b/requirements.txt index e62b072936..ba641a60c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ certifi>=14.05.14 # MPL six>=1.9.0 # MIT python-dateutil>=2.5.3 # BSD setuptools>=21.0.0 # PSF/ZPL -pyyaml>=5.4.1 # MIT +pyyaml>=6.0.3 # MIT websocket-client>=0.32.0,!=0.40.0,!=0.41.*,!=0.42.* # LGPLv2+ requests # Apache-2.0 requests-oauthlib # ISC diff --git a/scripts/constants.py b/scripts/constants.py index ccd32f339c..f60edaab63 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,7 +18,7 @@ KUBERNETES_BRANCH = "release-1.36" # client version for packaging and releasing. -CLIENT_VERSION = "36.0.0" +CLIENT_VERSION = "36.0.1" # Name of the release package PACKAGE_NAME = "kubernetes" diff --git a/scripts/release.sh b/scripts/release.sh index 02e4eca7f0..adb8e4310b 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -228,7 +228,7 @@ scripts/update-client-asyncio.sh # Check if there is any API change, then commit git add kubernetes/docs kubernetes/client/api/ kubernetes/client/models/ kubernetes/swagger.json.unprocessed scripts/swagger.json -git add kubernetes_asyncio/docs kubernetes_asyncio/client/api/ kubernetes_asyncio/client/models/ kubernetes_asyncio/swagger.json.unprocessed +git add kubernetes/aio/docs kubernetes/aio/client/api/ kubernetes/aio/client/models/ kubernetes/aio/swagger.json.unprocessed git diff-index --quiet --cached HEAD || git commit -m "generated API change" # Commit everything else diff --git a/scripts/update-client-asyncio.sh b/scripts/update-client-asyncio.sh index 361b1d39b6..1fc8e3711b 100755 --- a/scripts/update-client-asyncio.sh +++ b/scripts/update-client-asyncio.sh @@ -22,9 +22,9 @@ set -o nounset set -o pipefail SCRIPT_ROOT=$(dirname "${BASH_SOURCE}") -CLIENT_ROOT="$(dirname ${SCRIPT_ROOT})/kubernetes_asyncio" +CLIENT_ROOT="$(dirname ${SCRIPT_ROOT})/kubernetes/aio" CLIENT_VERSION=$(python "${SCRIPT_ROOT}/constants.py" CLIENT_VERSION) -PACKAGE_NAME=$(python "${SCRIPT_ROOT}/constants.py" PACKAGE_NAME)_asyncio +PACKAGE_NAME=$(python "${SCRIPT_ROOT}/constants.py" PACKAGE_NAME).aio DEVELOPMENT_STATUS=$(python "${SCRIPT_ROOT}/constants.py" DEVELOPMENT_STATUS) pushd "${SCRIPT_ROOT}" > /dev/null @@ -55,7 +55,7 @@ else fi echo ">>> Running python generator from the gen repo" -"${GEN_ROOT}/openapi/python-asyncio.sh" "${CLIENT_ROOT}" "${SETTING_FILE}" +"${GEN_ROOT}/openapi/python-aio.sh" "${CLIENT_ROOT}" "${SETTING_FILE}" mv "${CLIENT_ROOT}/swagger.json" "${SCRIPT_ROOT}/swagger.json" echo ">>> updating version information..." diff --git a/setup-asyncio.py b/setup-asyncio.py index 68ff22aa87..e91b34739b 100644 --- a/setup-asyncio.py +++ b/setup-asyncio.py @@ -16,8 +16,8 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "36.0.0" -PACKAGE_NAME = "kubernetes_asyncio" +CLIENT_VERSION = "36.0.1" +PACKAGE_NAME = "kubernetes.aio" DEVELOPMENT_STATUS = "5 - Production/Stable" # To install the library, run the following @@ -40,17 +40,17 @@ author_email="", author="Kubernetes", license="Apache License Version 2.0", - url="https://github.com/kubernetes-client/kubernetes_asyncio", + url="https://github.com/kubernetes-client/kubernetes/aio", keywords=["Swagger", "OpenAPI", "Kubernetes"], install_requires=REQUIRES, python_requires=">=3.10", tests_require=TESTS_REQUIRES, packages=[ - 'kubernetes_asyncio', - 'kubernetes_asyncio.config', - 'kubernetes_asyncio.client', - 'kubernetes_asyncio.client.api', - 'kubernetes_asyncio.client.models'], + 'kubernetes.aio', + 'kubernetes.aio.config', + 'kubernetes.aio.client', + 'kubernetes.aio.client.api', + 'kubernetes.aio.client.models'], include_package_data=True, long_description="Python asynchronous client for kubernetes http://kubernetes.io/", classifiers=[ diff --git a/setup-release.py b/setup-release.py index 9a99195350..7406d11358 100644 --- a/setup-release.py +++ b/setup-release.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "36.0.0" +CLIENT_VERSION = "36.0.1" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "5 - Production/Stable" @@ -73,11 +73,11 @@ 'kubernetes.dynamic', 'kubernetes.leaderelection', 'kubernetes.leaderelection.resourcelock', 'kubernetes.informer', - 'kubernetes_asyncio', - 'kubernetes_asyncio.config', - 'kubernetes_asyncio.client', - 'kubernetes_asyncio.client.api', - 'kubernetes_asyncio.client.models' + 'kubernetes.aio', + 'kubernetes.aio.config', + 'kubernetes.aio.client', + 'kubernetes.aio.client.api', + 'kubernetes.aio.client.models' ], include_package_data=True, long_description="Python client for kubernetes http://kubernetes.io/", diff --git a/setup.py b/setup.py index e278c2adba..c94edcf90f 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "36.0.0" +CLIENT_VERSION = "36.0.1" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "5 - Production/Stable" diff --git a/tox.ini b/tox.ini index 7798a72ee3..3be1d4bea3 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ deps = -r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements-asyncio.txt commands = python -V - !functional: pytest -vvv -s {env:_TOX_COVERAGE_RUN:} --ignore=kubernetes/e2e_test --ignore=kubernetes_asyncio/e2e_test + !functional: pytest -vvv -s {env:_TOX_COVERAGE_RUN:} --ignore=kubernetes/e2e_test --ignore=kubernetes/aio/e2e_test functional: {toxinidir}/scripts/kube-init.sh pytest -vvv -s [] coverage: python -m coverage xml setenv =